RespawnVehicle Doesnt work
#2

Here you go
pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
    new
        szMessage[ 128 ]
    ;
    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 ] ++; //instead of +=1;
    // removed the useless loop
    new vehicleid = GetPlayerVehicleID(playerid);
    SetVehicleToRespawn(vehicleid);
    return 1;
}
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)