[Problema]SKin Privados
#3

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;
}
Reply


Messages In This Thread
[Problema]SKin Privados - by Master532 - 30.01.2011, 19:34
Respuesta: [Problema]SKin Privados - by Lunnatiicz - 30.01.2011, 19:52
Re: [Problema]SKin Privados - by Master532 - 30.01.2011, 20:07
Respuesta: [Problema]SKin Privados - by [M]xFire - 30.01.2011, 20:43
Re: [Problema]SKin Privados - by Master532 - 30.01.2011, 21:12

Forum Jump:


Users browsing this thread: 2 Guest(s)