19.08.2009, 23:52
Hello!
I'm wanna do a command to only Donate >= 3
See that:
I Do that, but when i type the command say: Unknow Command, can someone help me?
I'm wanna do a command to only Donate >= 3
See that:
Quote:
if (strcmp(cmd, "/kitgold", true) == 0) { if(PlayerToPoint(3.0, playerid, 829.1633,-1761.8682,13.3009)) if(PlayerToPoint(3.0, playerid, 2496.2861,-1496.2053,23.7405)) { if(PlayerInfo[playerid][pDonateRank] == 3) { format(string, sizeof(string), "* The player %s take he vipkit.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE); GivePlayerWeapon(playerid,348,300); SetPlayerHealth(playerid, 100); SetPlayerArmour(playerid, 100); SendClientMessage(playerid, COLOR_RED, "You take you vipkit!"); return 1; } } } |