Scripting Questions
#1

Hi, I'm learning scripting and I have some very stupid and noobish questions...



-I want to make a list of spawns that players can choose from, and they can see the image of the spawn when they press right click or left click, like the default gamemode, grandlarc. I don't know how to make the camera look at the spawn, and to make the list of spawns players can choose from.
-How do you make the register pop-up when you join the server, and how do you save last locations when you leave the server
-How to add the OOC and the IC chats (RP geek confirmed), also the shouting and speaking low chats
-Make mobile gates, when you get to one you can do /gate and open it
-Also, when you join the first time, I want characters to be put in a room and choose a skin

Thank you
Providing links would be ideal
Reply
#2

1.https://sampwiki.blast.hk/wiki/SetPlayerCameraLookAt and https://sampwiki.blast.hk/wiki/SetPlayerCameraPos

2. under OnPlayerConnect
ShowPlayerDialog(playerid,dialogid,DIALOG_SYTLE_IN PUT,"Register","type a password to register","register","quit");
Don't forget to use a saving system( and show login dialog if player is already registered)
To save use Y_ini?

3. Not a rp player so idk what are those

4. use https://sampwiki.blast.hk/wiki/MoveObject
here is an tutorial
https://sampforum.blast.hk/showthread.php?tid=195131
Reply
#3

Thanks a lot.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)