Mysql Registrate
#5

Quote:
Originally Posted by Vince
Посмотреть сообщение
I see no reference to that function in any of the code you posted above. I only see "OnAccountRegister".
that function is for login to get data ,
and hare is on account registered :
Код:
public OnAccountRegister(playerid)
{
    SendClientMessage(playerid, -1, "Sekmingai uzsiregistravote");
    PlayerInfo[playerid][ID] = cache_insert_id(); //loads the ID of the player in the variable once they registered.
    printf("Sekmingai uzsiregistravote. ID: %d", PlayerInfo[playerid][ID]); //just for debugging.
    return 1;
}
the thing is u are probably sow that tut already , and know how its works if not i will tell u : its give u registration dialog ware u insert all information and position registration part done , then on account load when u are connecting script will get data from db and thos pos u are inserted in ,then on playerspawn they use those cords and should set u there but it wont work
Reply


Messages In This Thread
Mysql Registrate - by cyberlord - 22.12.2014, 12:07
Re: Mysql Registrate - by Vince - 22.12.2014, 12:22
Re: Mysql Registrate - by cyberlord - 22.12.2014, 12:25
Re: Mysql Registrate - by Vince - 22.12.2014, 12:29
Re: Mysql Registrate - by cyberlord - 22.12.2014, 12:31
Re: Mysql Registrate - by cyberlord - 22.12.2014, 13:49

Forum Jump:


Users browsing this thread: 1 Guest(s)