30.01.2011, 20:07
Aqui estan
pawn Код:
public OnPlayerSpawn(playerid)
{
//SetPlayerRandomSpawn(playerid);
if(GetPlayerSkin(playerid) == SKIN_UMBRELLA)
{
OnPlayerRequestSpawn(playerid);
}
SetPlayerPos(playerid, -2038.5139,-96.8106,35.1641);
return 1;
}
pawn Код:
public OnPlayerRequestSpawn(playerid)
{
if(GetPlayerSkin(playerid) == SKIN_UMBRELLA)
{
if(PlayerInfo[playerid][pLeader] != 1 || PlayerInfo[playerid][pMember] != 1)
{
SendClientMessage(playerid,COLOR_GREY," No perteneces a Umbrella Corporation !");
return 1;
}
}
return 1;
}