07.06.2009, 00:39
I made a command with my tcash script trying to make it with my aLevel (admin level) thing but it's not working. It saves my admin level but when i make new acc and do only admin commands it does it for anybody!
Код:
if(strcmp("/givemetcash", cmdtext, true) == 0) { if(PlayerInfo[playerid][aLevel] = 0) return SendClientMessage(playerid, red, "You are not an admin"); GivePlayerTcash(playerid, 1000000); SendClientMessage(playerid, green, "You got 1 million Tcash!"); return 1; }