Samp function
#2

pawn Код:
new Deaths[MAX_PLAYERS];
public OnPlayerDeath(playerid, killerid, reason)
{
      Deaths[playerid]+=1;
      if(Deaths[playerid] == 100)
      {
             // action to be taken here (100 deaths)
      }
      return 1;
}
that's an example.
Reply


Messages In This Thread
Samp function - by osman2571 - 24.11.2014, 12:35
Re: Samp function - by Sawalha - 24.11.2014, 12:39
Re: Samp function - by Jonesy96 - 24.11.2014, 12:45
AW: Re: Samp function - by osman2571 - 24.11.2014, 12:57

Forum Jump:


Users browsing this thread: 1 Guest(s)