lil qusetion - 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: lil qusetion (
/showthread.php?tid=245334)
lil qusetion -
tanush - 30.03.2011
how can i make if player press 2 on top, their vehicle will fix
Re: lil qusetion -
Steven82 - 30.03.2011
Check if the player presses the key while in a vehicle...
wiki.sa-mp.com is your friend for the keyboard keys.
Re: lil qusetion -
tanush - 30.03.2011
oh i thought wiki sa-mp was never my friend
Re: lil qusetion -
tanush - 30.03.2011
can you help please, im trying to make nitros when player press fire
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if (KEY_FIRE)
{
if(IsPlayerInAnyVehicle(playerid))
{
AddVehicleComponent(vehicleid, 1010);
}
}
return 1;
}