12.10.2013, 08:08
Hey, Everytime that they're /deliverwep and go to the checkpoint, I want the same car ; DeliverVehicles, will dessaper.
And this isnt, I put once (i) and this is respawning all the vehicle on server, how can I fix it?
And this isnt, I put once (i) and this is respawning all the vehicle on server, how can I fix it?
Код:
public OnPlayerEnterCheckpoint(playerid)
{
new szMessage[128];
new vehicleid;
if(PlayerInfo[playerid][pDeliverPlane] = 1 && IsPlayerInRangeOfPoint(playerid, 10,1968.79, -2492.85, 13.54))
format(szMessage, sizeof(szMessage), "You have picked up the Illeagel Deliver for Crate and succed to transfer it to LS! ");
SendClientMessageEx(playerid, COLOR_YELLOW, szMessage);
DisablePlayerCheckpoint(playerid);
PlayerInfo[playerid][pGunCrates] += 1;
for(new i = 1; i <= MAX_VEHICLES; i++)
{
SetVehicleToRespawn(vehicleid);
}


