SA-MP Forums Archive
Two very basic 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Two very basic questions... (/showthread.php?tid=272468)



Two very basic questions... - steve_gibson - 28.07.2011

Hello ok i have the following questions wich is the simplest code to add a server tutorials (better in dialog) and if possible take the players camera to an position like the pd and stat telling him about it then the gym hospital etc.

Second i want i score siste that the players every hour win some cash and then the gain one score point...
Thanks!!!...


Re: Two very basic questions... - iPLEOMAX - 28.07.2011

Questions are basic but the "codes" aren't.

I'll give you few hints on how to do it:

Use SetPlayerCameraPos , SetPlayerCameraLookAt & SetPlayerPos to set the camera & player in different Postions.

Then, ShowPlayerDialog to show dialogs, handle them using OnDialogResponse.

Probably, GameTextForPlayer for some fancy stuff?

And Use SetTimerEx + your own functions to create timed things.

That's all I can say now.