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



Ideal Sprunk - iReaLCFG - 07.01.2011

How to add Sprunk (dispenser) when press enter his life and give you cost?


Re: Ideal Sprunk - ғαιιοцт - 07.01.2011

Functions to be used:
GetPlayerPos
IsPlayerInRangeOfPoint
SetPlayerPos
SetPlayerFacingAngle
ApplyAnimation
GivePlayerMoney
GetPlayerHealth
SetPlayerHealth

Callbacks to be used:
OnPlayerKeyStateChange



This should help you.

How the functions work can be found on the wiki: www.wiki.sa-mp.com


Re: Ideal Sprunk - iReaLCFG - 07.01.2011

help me be a little more exactly