Variable help.
#2

It's FORPLAYERID, not PLAYERID. Also, you didn't close the bracket on the if(GetVehModel...
Also (again), you can't do GetVehicleModel(vehicleid) == Admincar, try this...

pawn Код:
public OnVehicleStreamIn(vehicleid, forplayerid)
{
    if(vehicleid == Admincar)
    {
        SetVehicleParamsForPlayer(vehicleid,forplayerid,0,1);
    }
    return 1;
}
Reply


Messages In This Thread
Variable help. - by Snipa - 08.02.2011, 01:10
Re: Variable help. - by Antonio [G-RP] - 08.02.2011, 01:16
Re: Variable help. - by Snipa - 08.02.2011, 01:18
Re: Variable help. - by Antonio [G-RP] - 08.02.2011, 01:20
Re: Variable help. - by Snipa - 08.02.2011, 01:21
Re: Variable help. - by Antonio [G-RP] - 08.02.2011, 01:24
Re: Variable help. - by Snipa - 08.02.2011, 01:35
Re: Variable help. - by iFriSki - 08.02.2011, 01:37
Re: Variable help. - by Snipa - 08.02.2011, 01:46
Re: Variable help. - by Snipa - 08.02.2011, 02:10

Forum Jump:


Users browsing this thread: 1 Guest(s)