09.01.2011, 10:59
Hello, I just need help with one command:
All the time when I type /jump, it says it have been turned off. Anyone can help me with that? ;P
Код:
if(strcmp(cmd, "/jump", true) == 0) { if(jump[playerid] != 0) return jump[playerid] = 1, SendClientMessage(playerid, yellow, "High Jump has been turned on!"); else if(jump[playerid] != 1) return jump[playerid] = 0, SendClientMessage(playerid, yellow, "High Jump has been turned off!"); return 1; }