Unknow CMD
#1

hello
i get unknow cmd why ?
PHP код:
CMD:robpizzaplayeridparams[ ] )
{
        if ( 
pRobbingPplayerid ] )
                return 
SendClientMessageplayeridRED"ERROR:{FFFFFF} You are already robbing Idlewood Pizza" );
        if ( !
IsPlayerInDynamicCPplayeridcp_Pizza) ) return SendClientMessageplayeridRED"ERROR:{FFFFFF} You must be in the checkpoint at Idlewood Pizza to use this command!" );
        if ( 
pizzaRobbed )
            return 
SendClientMessageplayeridRED"ERROR:{FFFFFF} Idlewood Pizza has been robbed recently, please wait patiently!" );
        
robTimerPplayerid ] = SetTimerEx"robPizza"30000false"i"playerid );
        
SendClientMessageplayeridINFO"[ROBBERY INFO] You have started a robbery, it will last 30 seconds. Do not leave the checkpoint!" );
        
pRobbingPplayerid ] = true;
        
pizzaRobbed true;
        new
            
szStr128 ],
            
usrName24 ];
        
GetPlayerNameplayeridusrName24 );
        
formatszStr128"[ROBBERY] %s has began a robbery at Idlewood Pizza!"usrName );
        
SendClientMessageToAllROBszStr );
        
GameTextForPlayerplayerid"~g~Robbery in process~n~~r~Do not leave the checkpoint!"30000);
        
SetPlayerWantedLevel(playeridGetPlayerWantedLevel(playerid) +2);
        return 
true;

Reply


Messages In This Thread
Unknow CMD - by sas10 - 02.01.2015, 15:06
Re: Unknow CMD - by Mic_H - 02.01.2015, 15:53
Re: Unknow CMD - by sas10 - 02.01.2015, 16:23
Re: Unknow CMD - by Arxalan - 02.01.2015, 16:38
Re: Unknow CMD - by sas10 - 02.01.2015, 16:47

Forum Jump:


Users browsing this thread: 2 Guest(s)