[Ajuda] Pickups
#1

postei no duvidas curtas mais ninguem responde..

pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == SkinPolicia)
    {
        if(!GetPlayerTeam(playerid == TEAM_POLICIA))
        {
            return 0;
        }
        else
        {
            SetPlayerSkin(playerid,284);
        }
    }
    return 1;
}
alguйm sabe porque outros times consegue trocar skin tambйm?
Reply
#2

pawn Код:
if ( GetPlayerTeam(playerid) == TEAM_POLICIA ) //igual
// ou
if ( GetPlayerTeam(playerid) != TEAM_POLICIA ) //diferente
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)