[Ajuda] Skin.
#10

Quote:
Originally Posted by Murilo_sousa
Посмотреть сообщение
uma coisa:

pawn Код:
new PlayerInfo[MAX_PLAYERS];
pawn Код:
public OnPlayerSpawn(playerid)
{
    if(PlayerInfo(playerid) == 1)
    {
        SetPlayerSkin(playerid, 210 );
    }
    else if(PlayerInfo(playerid) == 2)
    {
        SetPlayerSkin(playerid, 226 );
    }
    else if(PlayerInfo(playerid) == 3)
    {
        SetPlayerSkin(playerid, 59 );
    }
    else if(PlayerInfo(playerid) == 4)
    {
        SetPlayerSkin(playerid, 141 );
    }
    return 1;
}
vocк definiu no topo

Код:
new PlayerInfo[MAX_PLAYERS];
e na public OnPlayerSpawn vocк tava verificando de outra forma

Код:
public OnPlayerSpawn(playerid)
{
	if(PlayerInfo(playerid) == 1)
	{
		SetPlayerSkin(playerid, 210 );
	}
    return 1;
}
Explicando vocк definiu com [] e tava verificando com ()

da uma olhada nisso ai.


AAAAAAA MANOOO ! GRAЗAS A DEUS ! VALEU CARA DEU CERTO AQUI xD
Reply


Messages In This Thread
Skin. - by Lucas-Fc - 21.11.2012, 15:15
Re: Skin. - by Lucas-Fc - 21.11.2012, 15:20
Re: Skin. - by Zona_Sky - 21.11.2012, 15:23
Re: Skin. - by Lucas-Fc - 21.11.2012, 15:30
Re: Skin. - by Zona_Sky - 21.11.2012, 15:33
Re: Skin. - by Lucas-Fc - 21.11.2012, 15:34
Re: Skin. - by Maklister - 21.11.2012, 15:34
Re: Skin. - by Lucas-Fc - 21.11.2012, 15:42
Re: Skin. - by Maklister - 21.11.2012, 15:45
Re: Skin. - by Lucas-Fc - 21.11.2012, 15:54

Forum Jump:


Users browsing this thread: 4 Guest(s)