Random command help ! pls.
#4

Quote:
Originally Posted by Zeus666
Посмотреть сообщение
what is wrong with this cmd?
Nothing at all, i didnt give you a solution but a suggestion.
You could use it in your command like this:

PHP код:
CMD:mission(playerid
{  
if (
IsPlayerInCheckpoint(playerid)) 

DisablePlayerCheckpoint(playerid
 if(
MissionID == 1)
    {
        
//start first mission
       
StartMission(playerid1); 
    }
    else if(
MissionID == 2)
    {
        
// start second mission
       
StartMission(playerid2); 
    }
    else if(
MissionID == 3)
    {
        
//start third mission
       
StartMission(playerid3); 
    }

else  return  
SendClientMessage(playerid, -1""chat" Go to Military Base to get a mission"); 

and for the errors.
PHP код:
        else return SendClientMessage(playerid, -1""chat" You need to be on the right place !"); 
        
SetPlayerCheckpoint(playerid, -216.8123,984.9861,19.3925,94.2272); 
SetplayerCheckPoint only required 3 parameters i guess.

PHP код:
        else 
{
SendClientMessage(playerid, -1""chat" You need to be on the right place !"); 
        
SetPlayerCheckpoint(playerid, -216.8123,984.9861,19.3925); 

Also, dafuq is "chat"?
Reply


Messages In This Thread
Random command help ! pls. - by Zeus666 - 17.03.2018, 14:43
Re: Random command help ! pls. - by jasperschellekens - 17.03.2018, 15:18
Re: Random command help ! pls. - by Zeus666 - 17.03.2018, 15:22
Re: Random command help ! pls. - by jasperschellekens - 17.03.2018, 15:24
Re: Random command help ! pls. - by Zeus666 - 17.03.2018, 15:29
Re: Random command help ! pls. - by jasperschellekens - 17.03.2018, 15:30
Re: Random command help ! pls. - by Zeus666 - 17.03.2018, 15:32
Re: Random command help ! pls. - by jasperschellekens - 17.03.2018, 15:37
Re: Random command help ! pls. - by Zeus666 - 17.03.2018, 15:48
Re: Random command help ! pls. - by jasperschellekens - 17.03.2018, 15:50

Forum Jump:


Users browsing this thread: 7 Guest(s)