Random command help ! pls.
#9

Quote:
Originally Posted by jasperschellekens
Посмотреть сообщение
As a function.
.
PHP код:
stock StartMission(playerid1)
{
if 
pInfo[playerid][BanditsKilled] == 1
    
{
AddSlotToInventoryWorld(playerid,"Item",1);
SendClientMessage(playerid,-1,"*"COL_RED" You finished your mission. You received your prize!");
    }

PHP код:
CMD:mission(playerid)
{
if(
IsPlayerInRangeOfPoint(playerid,1.1,-216.8123,984.9861,19.3925))
{
new 
MissionID randomEx(1,3);
StartMission(playeridMissionID);
}
else  return  
SendClientMessage(playerid, -1""chat" Go to Military Base to get a mission");
}
return 
1;

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: 3 Guest(s)