14.12.2010, 22:39
pawn Код:
public OnPlayerSpawn(playerid)
{
if(IsLogged[playerid] == 0)
{
SendClientMessage(playerid, 0x33AA33AA, "[BotServ] You can't spawn if you arent logged in/registered.");
SendClientMessage(playerid, 0xFF9900AA, "[BotServ] Use /login if you are registered and try to spawn again.");
SendClientMessage(playerid, 0xFFFF00AA, "[BotServ] Or use /register to create a new account and try to spawn again.");
return 0;
}
return 1;
}