SA-MP Forums Archive
OnPlayerKeyStateChange [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)
+--- Thread: OnPlayerKeyStateChange [Help!] (/showthread.php?tid=341091)



OnPlayerKeyStateChange [Help!] - ProdrifterX - 09.05.2012

Hello Guys.
I've lost my favorite, best little script it was really nice for my server, it was under OnPlayerKeyStateChange
And it was like this example:
When i try to enter in Vehicles who got Weapons, and press enter it says: You are not allowed to ride this vehicle.
Script was like:
Resetplayerfromveh i think.
and Client message
and some thing where was typed vehicle id's.. but i forgot..
So..
Can someone help meh about this script or got it?
Thank you so much!
REP!


Re: OnPlayerKeyStateChange [Help!] - TzAkS. - 09.05.2012

Is
Code:
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid, -1, "Message);



Re: OnPlayerKeyStateChange [Help!] - ViniBorn - 09.05.2012

RemovePlayerFromVehicle
GivePlayerWeapon
GetPlayerWeaponData