SA-MP Forums Archive
Hello Need some 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Hello Need some help. (/showthread.php?tid=67749)



Hello Need some help. - basker - 03.03.2009

Hello

Can anyone show me a example of how to make a command there does like
i type /minigame i get teleport to the pos and frozen for 20sec
and then it reset my weapons and when i leave the place it gives me them back again.. ?

please i have Try and try but cant find any Topic about this
Hope you can help me many thx Basker


Re: Hello Need some help. - Rks25 - 03.03.2009

u need these functions, study them:

- SetPlayerPos
- TogglePlayerControllable
- SetTimerEx
- ResetPlayerWeapons
- GivePlayerWeapon
- PlayerToPoint or IsPlayerInArea.