Help Not working
#1

i have a command only for donators but when someone types /donator1,2,3 they get the guns even if they aren't donators

Код:
	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;
   }
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!
Reply


Messages In This Thread
Help Not working - by Dark Crow - 16.02.2012, 13:46
Re: Help Not working - by Slash_ - 16.02.2012, 13:50
Re: Help Not working - by Konstantinos - 16.02.2012, 13:51
Re: Help Not working - by BleverCastard - 16.02.2012, 13:52
Re: Help Not working - by Dark Crow - 20.02.2012, 07:21
Re: Help Not working - by deltapro - 20.02.2012, 09:38

Forum Jump:


Users browsing this thread: 1 Guest(s)