Command doesn't work for me
#10

What I meant is before the reported line to use printf to print the value of "carid". But.. just for the sake of debugging, you might as well separate each condition and add print messages:
pawn Код:
if (carid != -1)
{
    print("carid != -1");
    if (Car_IsOwner(playerid, carid)) printf("Car_IsOwner(%i, %i)", playerid, carid);
    else if (CoreVehicles[vehicleid][vehTemporary]) printf("CoreVehicles[%i][vehTemporary]", vehicleid);
    ...
}
Continue with the rest.
Reply


Messages In This Thread
Command doesn't work for me - by GoldenLion - 16.07.2016, 12:31
Re: Command doesn't work for me - by Stinged - 16.07.2016, 12:36
Re: Command doesn't work for me - by Konstantinos - 16.07.2016, 12:43
Re: Command doesn't work for me - by GoldenLion - 16.07.2016, 12:49
Re: Command doesn't work for me - by Konstantinos - 16.07.2016, 12:54
Re: Command doesn't work for me - by GoldenLion - 16.07.2016, 13:05
Re: Command doesn't work for me - by Konstantinos - 16.07.2016, 13:15
Re: Command doesn't work for me - by FuNkYTheGreat - 16.07.2016, 13:25
Re: Command doesn't work for me - by GoldenLion - 16.07.2016, 13:25
Re: Command doesn't work for me - by Konstantinos - 16.07.2016, 13:36

Forum Jump:


Users browsing this thread: 1 Guest(s)