17.03.2014, 18:59
PHP код:
new TaLogado[MAX_PLAYERS];
public OnPlayerDisconnect(playerid, reason)
{
TaLogado[playerid] = 0;
return 1;
}
public OnPlayerSpawn(playerid)
{
TaLogado[playerid] = 1;
return 1;
}
public OnPlayerText(playerid, text[])
{
if(TaLogado[playerid] == 0)
{
SendClientMessage(playerid, 0x00FF00FF, "{FFFFFF}» {999999}Vocк nгo estб {00FF00}logado!");
return 0;
}
return 1;
}