ID:170021
 
How do you change a client's icon with a proc or if() statement?
if you wanna do it with a proc:
mob/proc/MyIconProc()
src.icon = 'MrGameandWatch.dmi'

If you wanna do it with an if statement:
mob/verb/Changeicon()
if(src.icon = 'MrGameandWatch.dmi'//could also
//use something else to check
src.icon = 'Randoman.dmi'
In response to Reinhartstar
ok, thx but how do you make an object change the clients icon?
In response to Jerryms
You put the proc/verb on the obj instead of the mob.
In response to Hazman
ok, thx and how do you use and object to save the xyz coordinates of a mob as a variable?
In response to Jerryms
Use the forum search, type in "save system" or "saving" and you should get atleast 50 results.

Thats really the best way to answer quick and easy questions.