help with /heal
#3

but how i make this but i have pawno is crashing
PHP код:
if(strcmp(cmd,"/heal",true)==0)
    {
        if(
PlayerInfo[playerid][pDonateRank] >= 4)
        {
        if(
GetTickCount() - GetPVarInt(playerid"heal") < 120000) return SendClientMessage(playerid0xFF0000FF"you must wait 2 minutes");
                 
SetPlayerHealth(playerid100);
                 
SetPlayerArmour(playerid100);
                
SendClientMessage(playerid,COLOR_GREEN,"You've set your health and armour to 100");
                    
SetPVarInt(playerid"heal"GetTickCount());
                
            }
        }
         return 
1;
    } 
Reply


Messages In This Thread
help with /heal - by boyan96 - 11.11.2011, 11:48
Re: help with /heal - by Mr_Scripter - 11.11.2011, 11:49
Re: help with /heal - by boyan96 - 11.11.2011, 11:51
Re: help with /heal - by SmiT - 11.11.2011, 11:54
Re: help with /heal - by boyan96 - 11.11.2011, 11:56
Re: help with /heal - by Cypress - 11.11.2011, 12:34

Forum Jump:


Users browsing this thread: 2 Guest(s)