help me guys pleas!! - 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 me guys pleas!! (
/showthread.php?tid=155167)
help me guys pleas!! -
Steve_Osten - 17.06.2010
hello all
how i can make this ( if the cop close to the gate of lspd and hit horn the gate open )
?
pleas help me !!
thanks you all
Re: help me guys pleas!! -
Cameltoe - 17.06.2010
checkout this two functions:
//OnPlayerKeyStateChange
Код:
OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
//Playertopoint
Код:
if(PlayerToPoint(playerid, RANGE,X,Y,Z))
Re: help me guys pleas!! -
eDz0r - 17.06.2010
Quote:
Originally Posted by Steve_Osten
hello all
how i can make this ( if the cop close to the gate of lspd and hit horn the gate open ) ?
pleas help me !!
thanks you all
|
Use
IsPlayerInRangeOfPoint
https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint
And
OnPlayerKeyStateChange
https://sampwiki.blast.hk/wiki/OnPlayerKeyStateChange