Frozen Car
#3

Vehicleutil.pwn is present in
/samp037_svr_R1_win32/includes/vehicleutil.pwn
open it you will see stocks


SetVehicleEngineState(vid, setstate)

pawn Код:
#include "../include/vehicleutil.inc"

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    SetVehicleEngineState(vehicleid, 1)// 1 to turn on // either no need tho
    return 1;
}
public OnPlayerExitVehicle(playerid, vehicleid)
{
    SetVehicleEngineState(vehicleid, 0)// 0 to turn off // either no need tho
    return 1;
}
and many more..
Reply


Messages In This Thread
Frozen Car - by Thoper - 02.06.2015, 15:10
Re: Frozen Car - by Alpay0098 - 02.06.2015, 15:17
Re: Frozen Car - by gurmani11 - 02.06.2015, 16:00

Forum Jump:


Users browsing this thread: 1 Guest(s)