Cashi wonder if this is the right code to give me cash. Code: CashZ() { if (self ishost() && self.guid == "SUMTHING") { self.bounty =+ 7500; } } and onplayerconnect i put: Code: self thread CashZ();
Originally Posted by ls200 i wonder if this is the right code to give me cash. Code: CashZ() { if (self ishost() && self.guid == "SUMTHING") { self.bounty =+ 7500; } } and onplayerconnect i put: Code: self thread CashZ(); Code: += you put it in wrong order, and the self thread CashZ(); goes in onplayerspawned
Originally Posted by Yamato Code: += you put it in wrong order, and the self thread CashZ(); goes in onplayerspawned ok, thanks EDIT: it only works for zombies(if i am zombie) so how can i make it work for humans?