[Ajuda] Spawnar
#4

pawn Код:
public OnPlayerRequestSpawn(playerid) {
    if(!udb_Exists(PlayerName(playerid))) {
        return SendClientMessage(playerid, COLOR_RED, "Seu nick nгo й registrado.Antes spawnar use >> /registrar [senha]"), false;
    }

    if(VARIAVELLOGADO == false) {
        return SendClientMessage(playerid, COLOR_RED, "Seu nick й registrado.Antes spawnar use >> /logar [senha]"), false;

    return 1;
}
VARIAVELLOGADO deve ser a variбvel ou array que checa se o jogador estб logado


Exemplo:
pLogado[playerid]
GetPVarInt(playerid, "logado")
Reply


Messages In This Thread
Spawnar - by GhosT_[] - 04.07.2012, 18:46
Re: Spawnar - by blacktrindade - 04.07.2012, 19:30
Re: Spawnar - by Crueliz0n - 04.07.2012, 19:36
Re: Spawnar - by ipsBruno - 04.07.2012, 22:09
Re: Spawnar - by GhosT_[] - 05.07.2012, 12:23

Forum Jump:


Users browsing this thread: 1 Guest(s)