16.02.2012, 13:46
i have a command only for donators but when someone types /donator1,2,3 they get the guns even if they aren't donators
Can anyone help i added also the timer but it doesn't work also if anyone know what the problem is pls let me know so i can fix it!
Код:
if(strcmp(cmd, "/donator1", true) == 0)
{
if(IsPlayerConnected(playerid))
if(PlayerInfo[playerid][pDonateRank] > 1)
{
SendClientMessage(playerid, COLOR_GREY, " Wait 5 min till you can use the donator Packet ! ");
return 1;
}
{ if(JustUsed[playerid] == 1)
GivePlayerWeapon(playerid, 24, 100);
JustUsed[playerid] = 1;
SetTimerEx("PaketReset", 300000, false, "i", playerid);
}
return 1;
}

