SA-MP Forums Archive
Car - 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: Car (/showthread.php?tid=352700)



Car - 3RoR - 20.06.2012

How to create a commands /lock /unlock
and when the car is locked when a player tries to entry the car to show gametext
like this
pawn Код:
new Float:X, Float: Y, Float: Z;
GetPlayerPos(playerid, X, Y , Z);
SetPlayerPos(playerid,X,Y,Z);
GameTextForPlayer(playerid,"~g~ZAKLUCENO: ~w~LSPD",2000,5);