Register Problem - 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: Register Problem (
/showthread.php?tid=562597)
Register Problem -
lwilson - 10.02.2015
Hey when i register to my Gamemode , my gta san andreas will crash like i'm using many mods, but when i log in a registered account it's not crashing .. any solution?
Re: Register Problem -
AnnaSB - 10.02.2015
Post The Code Plz
Re: Register Problem -
lwilson - 10.02.2015
Quote:
Originally Posted by AnnaSB
Post The Code Plz
|
This code is when a player is new he/she has pTut == 0 he will recieve this message, but when i enter a password and register i will not take to this Dialog it will load about 1-2 seconds and it will crash even i don't have any kind of Mods, and if the player is already registered no crashing problem
Код:
SetPlayerSpawn(playerid)
{
if(PlayerInfo[playerid][pTut] == 0)
{
gOoc[playerid] = 1; gNews[playerid] = 1; gFam[playerid] = 1;
TogglePlayerControllable(playerid,0);
SetPlayerColor(playerid,TEAM_HIT_COLOR);
SetPlayerVirtualWorld(playerid, 0);
SetPlayerInterior(playerid, 0);
Streamer_UpdateEx(playerid,1761.0281, -1846.6010, 13.2184);
SetPlayerPos(playerid,-2150.0972,1901.4792,555.4389);
SetPlayerCameraPos(playerid, 1761.0281, -1846.6010, 13.2184);
SetPlayerCameraLookAt(playerid, 1760.3217, -1847.3002, 13.1983);
RegistrationStep[playerid] = 1;
ShowPlayerDialog(playerid, REGISTERSEX, DIALOG_STYLE_LIST, "{33CCFF}Is your character male or female? - www.samp-sgrp.enjin.com", "Male\nFemale", "Submit", "");
return 1;
}
Re: Register Problem -
Beckett - 10.02.2015
You are probably trying to save their data into a wrong or non-existing directory.
Re: Register Problem -
lwilson - 11.02.2015
Quote:
Originally Posted by DaniceMcHarley
You are probably trying to save their data into a wrong or non-existing directory.
|
What do you mean?? can you make it more specific?
Re: Register Problem -
kevin1990 - 11.02.2015
Do you have a mysql.pwn?
Re: Register Problem -
SecretBoss - 11.02.2015
Are you using an Administration Filterscipt? Like LuxAdmin, JakAdmin, Melladmin or something like it?
Re: Register Problem -
lwilson - 12.02.2015
Quote:
Originally Posted by kevin1990
Do you have a mysql.pwn?
|
i got mysql.dll and mysql.so not .pwn
Re: Register Problem -
lwilson - 12.02.2015
Quote:
Originally Posted by SecretBoss
Are you using an Administration Filterscipt? Like LuxAdmin, JakAdmin, Melladmin or something like it?
|
Gamemode has its Admin System , Server just got 2 FS such as Animations and Maps
Respuesta: Re: Register Problem -
!R1Ch@rD! - 12.02.2015
Quote:
Originally Posted by lwilson
i got mysql.dll and mysql.so not .pwn
|
he is trying to tell you , if you have mysql as bone system if you use this system