SA-MP Forums Archive
Spawning in blueberry and cant save users data! - 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: Spawning in blueberry and cant save users data! (/showthread.php?tid=387865)



Spawning in blueberry and cant save users data! - superdanv88 - 26.10.2012

hi guys, setting up a new RP server, first two issues!

1.) i log in and register then when i leave and rejoin my name or anything is not saved!

2.) also i spawn in blueberry i thinks its cos the co's are 0 0 0 but can someone fix for me! thanks

I will be offering scripting positions to anyone who can fix it!



Also if you need to see the code post a reply thanks! im not sure which bits to post


Re: Spawning in blueberry and cant save users data! - gtakillerIV - 26.10.2012

What saving system are you using? MYSQL, YINI, or DINI? These are just examples.


Re: Spawning in blueberry and cant save users data! - superdanv88 - 26.10.2012

i downloaded the server hosting files from Samp website and placed a rp script and installed the .inc files fine but i just realised that there are like no saving files i dont want to use mysql... too complicated i think i its dini because that was in the script ( #include dini)


Re: Spawning in blueberry and cant save users data! - zDevon - 27.10.2012

Ensure the path for user files even exists. Is there anything inside your 'scriptfiles' folder?


Re: Spawning in blueberry and cant save users data! - Hade. - 28.10.2012

PHP код:
public OnPlayerRequestClass(playeridclassid)
{
    
SetPlayerPos(playerid1960.19995117191343.014.69999809265); //The player spawn position
    
SetPlayerCameraPos(playerid19701352.800048828119.39999961853); //The camera position 
    
SetPlayerCameraLookAt(playerid1960.1999511719134314.69999809265); //The position the camera is looking
    
return 1

These cordinates set your spawn at Las Venturas.. But you can change the cordinates.


Re: Spawning in blueberry and cant save users data! - Eric - 28.10.2012

The reason you're spawning in Blueberry is most likely because your script can't connect to whatever method of saving you're using. What role-play script are you running?