Disable player spawn button
#6

Quote:
Originally Posted by spedico
Посмотреть сообщение
SpawnPlayer(playerid);
It only shows the 3 buttons down and does't spawn the player

pawn Код:
stock Login(playerid,key[])
{
    new file[64];
    new name[MAX_PLAYER_NAME];
    GetPlayerName(playerid,name,sizeof(name));
    format(file,sizeof(file),"/users/%s.txt",name);
    if(!strcmp(key,dini_Get(file,"password"),true))
    {
        SendClientMessage(playerid,RED,"Logged in!");
        SpawnPlayer(playerid);// here it is...
        LoadAcc(playerid);
        return 1;
    }
    else
    {
        // bla bla bla retype pass...
        return 1;
    }
}
Reply


Messages In This Thread
Disable player spawn button - by MarinacMrcina - 05.06.2012, 16:48
Re: Disable player spawn button - by milanosie - 05.06.2012, 16:48
Re: Disable player spawn button - by mahdi499 - 05.06.2012, 16:54
Re: Disable player spawn button - by MarinacMrcina - 05.06.2012, 16:55
Re: Disable player spawn button - by spedico - 05.06.2012, 16:56
Re: Disable player spawn button - by MarinacMrcina - 05.06.2012, 17:22
Re: Disable player spawn button - by milanosie - 05.06.2012, 17:23
Re: Disable player spawn button - by MarinacMrcina - 05.06.2012, 17:37
Re: Disable player spawn button - by milanosie - 05.06.2012, 17:48

Forum Jump:


Users browsing this thread: 1 Guest(s)