Posts: 6,242
Threads: 8
Joined: Jun 2008
Quote:
Originally Posted by C4rtm4n
Why are you using this in public OnPlayerText  It is used to make tags in the chat or 3 d label texts and the variable is wrong to use
PHP код:
new police[MAX_PLAYERS]=0; // Not a cop
Exemple Usage:
PHP код:
if(police == 0) return SendClientMessage(playerid, -1, " You Not Police");
else if(police == 1) return SendClientMessage(playerid, -1, " You Is cop");
Resume: "1" Is Cop "0" not a cop
|
Do you even know how to even use arrays
FFS don't post up BROKEN NON-WORKING code....
This is as good as a tutorial from someone who doesn't have a clue on how to even do what they're trying to teach...