OnTrailerAtach?
#10

I get nothing different in the log just a Send Report / Don't Send message when logging in to the server , then crash , i get this in the crashinfo.txt


--------------------------

Exception At Address: 0x0045D1FE



Registers:

EAX: 0x00000000 EBX: 0x00F5FA94 ECX: 0x00000000 EDX: 0x00C667D0

ESI: 0x00C6A158 EDI: 0x00C6A158 EBP: 0x00F8EE60 ESP: 0x0012FC38

EFLAGS: 0x00010246



Stack:

Can you help me with this , if i remove the
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] = 0; //// change to 0
    }
    return 1;
}
Then the server works , but of course the trailer thing won't work then , how to fix this?
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: 4 Guest(s)