SA-MP Forums Archive
[help] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [help] (/showthread.php?tid=262624)



[help] - decastro96 - 18.06.2011

How can i make a car there cant start? xD


Re: [help] - Wesley221 - 18.06.2011

pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    new engine,lights,alarm,doors,bonnet,boot,objective;
    GetVehicleParamsEx(vehicleid,engine,lights,alarm,doors,bonnet,boot,objective);
    SetVehicleParamsEx(vehicleid,0,0,0,0,0,0,0);
    return 1;
}
If im right


Re: [help] - decastro96 - 18.06.2011

what kind of ID should I take in?


Re: [help] - Wesley221 - 18.06.2011

What you mean?