what the wrong here?
#1

What the wrong here?

PHP код:
public OnPlayerEnterRaceCheckpoint(playerid)
{
   if(
CP_DEADPoint)
   {
     if(
ROBBING_DEAD[playerid] == 1)
     {
         new 
string[64], pName[MAX_PLAYER_NAME];
         
GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
         
SendClientMessage(playeridCOLOR_ORANGE"[ROBBING]: Go to hell DEAD");
         
SendClientMessage(playeridCOLOR_ORANGE"[DEAD PLEASE]");
         
ROBBING_DEAD[playerid] =0;
         new 
mrand =random(150000);
         
format(string,sizeof(string),"[DEAD]: {FF9A00}%s(%d) has BEEN DEAD FROM CARS XD]",pName,playerid,mrand);
         
SendClientMessageToAll(COLOR_RED,string);
         
GivePlayerMoney(playeridmrand);
     }
   }
    return 
1;

Reply


Messages In This Thread
what the wrong here? - by Thanks - 29.12.2016, 19:41
Re: what the wrong here? - by Private200 - 29.12.2016, 19:51
Re: what the wrong here? - by Thanks - 29.12.2016, 20:12
Re: what the wrong here? - by RedRex - 29.12.2016, 22:15
Re: what the wrong here? - by Private200 - 30.12.2016, 09:41

Forum Jump:


Users browsing this thread: 3 Guest(s)