16.04.2012, 00:45
Hi how can I add something like if a player is not russian he cannot enter that building.
similar to this.
public OnPlayerSpawn(playerid)
{
if(IsPlayerAdmin(playerid)) SendClientMessageToAll(0xDEEE20FF, "An admin spawned.");
else SendClientMessageToAll(0xDEEE20FF, "A user spawned.");
return 1;
}
Something like "You are not authorized to enter this building"
similar to this.
public OnPlayerSpawn(playerid)
{
if(IsPlayerAdmin(playerid)) SendClientMessageToAll(0xDEEE20FF, "An admin spawned.");
else SendClientMessageToAll(0xDEEE20FF, "A user spawned.");
return 1;
}
Something like "You are not authorized to enter this building"