OnTrailerAtach?
#7

Quote:
Originally Posted by Lazarus
pawn Код:
public OnPlayerUpdate(playerid)
{
    if(IsTrailerAttachedToVehicle(GetPlayerVehicleID(playerid)) == 1 && attached[playerid] == 0)
    {
        OnTrailerAttach(playerid, GetPlayerVehicleID(playerid), GetVehicleTrailer(GetPlayerVehicleID(playerid)));
        attached[playerid] = 1;
    }

    if(IsTrailerAttachedToVehicle(GetPlayerVehicleID(playerid)) == 0 && attached[playerid] == 1)
    {
        attached[playerid] = 1; //// change to 0
    }
    return 1;
}
needs to be fixed
Reply


Messages In This Thread
OnTrailerAtach? - by Jonte92 - 03.02.2009, 13:49
Re: OnTrailerAtach? - by SilentMouse - 03.02.2009, 14:15
Re: OnTrailerAtach? - by Lazarus - 03.02.2009, 14:34
Re: OnTrailerAtach? - by Jonte92 - 03.02.2009, 15:07
Re: OnTrailerAtach? - by Jonte92 - 03.02.2009, 15:36
Re: OnTrailerAtach? - by Lazarus - 03.02.2009, 16:21
Re: OnTrailerAtach? - by Joe Staff - 03.02.2009, 16:24
Re: OnTrailerAtach? - by Lazarus - 03.02.2009, 16:27
Re: OnTrailerAtach? - by Joe Staff - 03.02.2009, 16:28
Re: OnTrailerAtach? - by Jonte92 - 03.02.2009, 16:50

Forum Jump:


Users browsing this thread: 5 Guest(s)