ID:269653
![]() Aug 26 2005, 8:08 am
|
|
How do you dispense an increase in a var, such as exp, to every player/client/user in the game?
|
Actually, itll just give it to all the mobs, but if you had a special player type, than you can set it to that.
for(var/mob/player/M in world) |
Oh, it's that simple? I thought it was more complicated than that. I could have did it without asking the question then, thanks.
|
Maybe you should be more specific:
for(var/mob/X in world) if(X.client) X.exp+=10 That will give it to ACTUAL people, instead of every mob, and may indeed create less lag. |
this wat u want?