How to skip skin selection
#10

I dont want check if registered!! what i want to du is this..

I am a new player.. i connect in the server i register.. now appears class selection i select mi skyn.. for example: 45..

now when i logout!! i enter again to the server.. but i dont want appears again class selection.. i want player spawn with skin 45!! or what skin he select.. i make this

onplayerspawn

Код:
    if(pinfo[playerid][spawned] == 0)
    {
        new pskin;
        pskin = GetPlayerSkin(playerid);
	    MysqlUpdateCampoInt("jugadores", "nombre", pnombre, "spawned", 1);
	    MysqlUpdateCampoInt("jugadores", "nombre", pnombre, "skin", pskin);
    }
	else
	{
	    SetPlayerSkin(playerid, pinfo[playerid][skin]);
	}
ofcourse if i select another skin.. when spawn i appears with 45 the first skin i select on register!!..

but i dont whant appears class selection.. i want spawn automatic
Reply


Messages In This Thread
How to skip skin selection - by Zafire1410 - 05.08.2010, 17:05
Re: How to skip skin selection - by RyDeR` - 05.08.2010, 17:06
Re: How to skip skin selection - by [XST]O_x - 05.08.2010, 17:08
Re: How to skip skin selection - by Hiddos - 05.08.2010, 17:10
Re: How to skip skin selection - by [XST]O_x - 05.08.2010, 17:13
Re: How to skip skin selection - by Kar - 05.08.2010, 17:13
Re: How to skip skin selection - by Zafire1410 - 05.08.2010, 17:16
Re: How to skip skin selection - by Hiddos - 05.08.2010, 17:17
Re: How to skip skin selection - by Kar - 05.08.2010, 17:21
Re: How to skip skin selection - by Zafire1410 - 05.08.2010, 17:24

Forum Jump:


Users browsing this thread: 9 Guest(s)