Author Topic: How do I tell if a specific playertype is currently in use on the server  (Read 1621 times)

: /

Never try pointing out mistakes, it just gets people angry.
in examples, it doesn't really matter
in code that somebody is bug fixing, go for it
just like people yell at me for making code easier to read in examples...

Umm, shouldn't the %datablock in if(isObject(%obj) && %obj.getDataBlock() $= "%datablock") not be in quotes?

also %clientgroup should just be clientgroup

Mistakes like those are very hard to pick up on imo, because they don't give a syntax error.  It just makes the script do nothing, which is extremely frustrating sometimes.

also %clientgroup should just be clientgroup

Mistakes like those are very hard to pick up on imo, because they don't give a syntax error.  It just makes the script do nothing, which is extremely frustrating sometimes.
ive been hit by accidentally doing %clientgroup in for() loops so goddamn many times


it hurts