Dynamic CheckPoint [Rep++]
#8

Okai i made this command to start work
PHP код:
CMD:pizza(playeridparams[])
{
    if(
PlayerInfo[playerid][pJob] != pizza) return SendClientMessage(playeridCOLOR_RED"You are not a part from pizza company");
    if(!
IsPlayerInVehicle(playeridpc1) && !IsPlayerInVehicle(playeridpc2) && !IsPlayerInVehicle(playeridpc3) && !IsPlayerInVehicle(playeridpc4) && !IsPlayerInVehicle(playeridpc5) && !IsPlayerInVehicle(playeridpc6) && !IsPlayerInVehicle(playeridpc7) && !IsPlayerInVehicle(playeridpc8)) return SendClientMessage(playeridCOLOR_RED"You are not in any pizza's company car !");
    
cp1 CreateDynamicCP(2148.9041,-1433.6654,25.5391,3, -1, -1playerid100.0);
    
i1 SetPlayerMapIcon(playerid12148.9041, -1433.665425.53910COLOR_REDMAPICON_GLOBAL);
    
SendClientMessage(playeridCOLOR_ORANGE"Go to the checkpoint and deliver the pizza");
    return 
1;

And when i enter the first checkpoint i works well but when i enter the second it send for me the message but didn't remove the marker and didn't destroy the checkpoint
Reply


Messages In This Thread
Dynamic CheckPoint [Rep++] - by nezo2001 - 29.01.2015, 09:02
Re: Dynamic CheckPoint [Rep++] - by GGW - 29.01.2015, 09:46
Re: Dynamic CheckPoint [Rep++] - by nezo2001 - 29.01.2015, 10:19
Re: Dynamic CheckPoint [Rep++] - by ATGOggy - 29.01.2015, 10:20
Re: Dynamic CheckPoint [Rep++] - by nezo2001 - 29.01.2015, 10:24
Re: Dynamic CheckPoint [Rep++] - by GGW - 29.01.2015, 10:25
Re: Dynamic CheckPoint [Rep++] - by ATGOggy - 29.01.2015, 10:28
Re: Dynamic CheckPoint [Rep++] - by nezo2001 - 29.01.2015, 10:31
Re: Dynamic CheckPoint [Rep++] - by ATGOggy - 29.01.2015, 10:37
Re: Dynamic CheckPoint [Rep++] - by nezo2001 - 29.01.2015, 10:49

Forum Jump:


Users browsing this thread: 1 Guest(s)