Blockland Forums > Modification Help

How do I tell if a specific playertype is currently in use on the server

Pages: << < (4/4)

phflack:


--- Quote from: jes00 on June 19, 2012, 03:51:40 PM ---: /

Never try pointing out mistakes, it just gets people angry.

--- End quote ---
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...

Nexus:


--- Quote from: jes00 on June 19, 2012, 02:36:31 PM ---Umm, shouldn't the %datablock in if(isObject(%obj) && %obj.getDataBlock() $= "%datablock") not be in quotes?

--- End quote ---

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.

Lugnut:


--- Quote from: Nexus on June 19, 2012, 10:50:41 PM ---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.

--- End quote ---
ive been hit by accidentally doing %clientgroup in for() loops so goddamn many times


it hurts

YourBuddyBill:

EDIT: Wrong topic lol

Pages: << < (4/4)

Go to full version