/robstore command problem
#1

hey how can i do when if player is not in the checkpoint ill return them a message saying you must be in local store here code +rep

PHP код:
cmd(robstoreplayeridparams[])
{
    
IsPlayerInDynamicCP(playerid,Checkpoint[9]);
    {
        
SendClientMessage(playeridCOLOR_RED"You have started a robbery in LS 69  Cent Store!.");
        new 
string[120];
        
format(string120"[DISPATCH] %s Has started a robbery at Los Santos 69 Cent Store in idlewood!",PlayerName(playerid));
        
SendCopMessage(string);
        
RadioInfo[playerid][pCopRadio] = 1;
        
RobbingInfo[playerid][pRobbing69cent] = 30;
        
RobbingInfo[playerid][pRobbed69cent] = 50;
        return 
1;
    }

Reply


Messages In This Thread
/robstore command problem - by UserName31 - 30.07.2014, 01:42
Re: /robstore command problem - by UserName31 - 30.07.2014, 01:45
Re: /robstore command problem - by Sharpadox - 30.07.2014, 01:46

Forum Jump:


Users browsing this thread: 1 Guest(s)