Quote:
Originally Posted by Zeus666
PHP код:
stock StartMission(playerid, 1)
{
if pInfo[i][BanditsKilled] == 1
{
AddSlotToInventoryWorld(playerid,"Bidon de Benzina Plina",1);
SendClientMessage(i,-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(playerid, MissionID);
}
else return SendClientMessage(playerid, -1, ""chat" Go to Military Base to get a mission");
return 1
}
|
Are you for real? this is where it goes wrong. You assume i am giving you a fully working code. but thats not the case.