RespawnVehicle Doesnt work
#1

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?

Код:
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);
    }
Reply


Messages In This Thread
RespawnVehicle Doesnt work - by yaron0600 - 12.10.2013, 08:08
Re: RespawnVehicle Doesnt work - by Patrick - 12.10.2013, 08:10
Re: RespawnVehicle Doesnt work - by yaron0600 - 12.10.2013, 08:14
Re: RespawnVehicle Doesnt work - by Patrick - 12.10.2013, 08:18
Re: RespawnVehicle Doesnt work - by yaron0600 - 12.10.2013, 08:28
Re: RespawnVehicle Doesnt work - by Patrick - 12.10.2013, 08:52
Re: RespawnVehicle Doesnt work - by yaron0600 - 12.10.2013, 11:03
Re: RespawnVehicle Doesnt work - by yaron0600 - 12.10.2013, 12:11
Re: RespawnVehicle Doesnt work - by iFiras - 12.10.2013, 13:34
Re: RespawnVehicle Doesnt work - by yaron0600 - 12.10.2013, 14:37

Forum Jump:


Users browsing this thread: 1 Guest(s)