Another few questions. - 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: Another few questions. (
/showthread.php?tid=349523)
Another few questions. -
Mr.Lauren - 09.06.2012
Well, as I mentioned, I've another question.
1. How do I change the player walking/running style to the basic one?
2. When the player DIES, how do I make him spawn at a location I want, not at the basic AddPlayerClass?
3. And once again, I don't get the Style_dialog shit, can anyone like make a simple example please?
Thank you to everyone who's going to answer, I'll add you some rep.
Re: Another few questions. -
Calgon - 09.06.2012
1. You can use 'UsePlayerPedAnims();' in OnGameModeInit() if you're referring to the CJ walk style.
2. You can use SetPlayerPos when the player spawns - you can determine when a player spawns by using the OnPlayerSpawn callback.
3. There are plenty of tutorials - use the search tool. There are multiple types of dialogs which show a different method of inputting data - there's a list, there's an input box, there's a masked input box (what you write is hidden in the box) and there's a message/alert style.