crash problem fix
#3

pawn Код:
forward removcar(playerid);
public removcar(playerid)
{
    new vehicleid = GetPlayerVehicleID(playerid);
    TogglePlayerControllable(playerid,1);
    if(Spectating[playerid][0] < 0) return 1;
    if(Carid < 0) return 1;
    SetVehicleParamsForAll(Buylist[Spectating[playerid][0]][Carid],0,0);
    Spectating[playerid][0]=90;
    SetVehicleToRespawn(vehicleid);
    RemovePlayerFromVehicle(playerid);
    return 1;
}
I dont know which var of yours has size 80 so i just placed 2 checks.
Reply


Messages In This Thread
crash problem fix - by speed258 - 11.03.2012, 13:30
Re: crash problem fix - by speed258 - 11.03.2012, 13:34
Re: crash problem fix - by eesh - 11.03.2012, 13:47

Forum Jump:


Users browsing this thread: 1 Guest(s)