Help Me Please - 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: Help Me Please (
/showthread.php?tid=546868)
Help Me Please -
Samieastwood - 18.11.2014
okay so on my server when you join the server it asks you to register which you have to enter a password however when you click register it should tell you to choose weather your a male or female however when the user clicks register it shows him in blueberry and he crashes.
i got onto the guys information add the postion is
SPos_x=0.0
SPos_y=0.0
SPos_z=1.9
SPos_r=0.9
however there is no problem in the log nothing at all.
Re: Help Me Please -
Kebab- - 18.11.2014
Do the following...
Find public OnPlayerSpawn and add the following:
Код:
SetPlayerPos(playerid, x, y, z);
Replace the x, y and z with coordinates. This should do the job.
Re: Help Me Please -
Samieastwood - 18.11.2014
but this when they finish the tutorial right? when the player clicks register it will run them through a tutorial
Re: Help Me Please -
Quickie - 18.11.2014
show your ondialogresponse callback
Re: Help Me Please -
Kebab- - 19.11.2014
Quote:
Originally Posted by Samieastwood
but this when they finish the tutorial right? when the player clicks register it will run them through a tutorial
|
I doubt that's what's causing the crash. The reason for your crash is most likely because you've got many houses, businesses or anything dynamic which haven't got a predefined location. So the crash is caused by the overflow. Crashes don't usually occur at the location 0, 0, 0, unless you have dodgy dynamics there or too many dynamic (such as checkpoints, icons and ect).