04.07.2012, 22:09
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;
}
Exemplo:
pLogado[playerid]
GetPVarInt(playerid, "logado")