[Ajuda]
#1

tenho todas skin no emu servidor mais quando vai para seleзгo de skin quando entra nao aparece as skin mesmo eu pondo normal AddPlayeClass...

code:

pawn Код:
for(new i, k = 299; k != i; ++i)
    {
    AddPlayerClass(i,1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    }
Reply
#2

Acho que seria melhor vocк Criar as 299 AddPlayerClass '-' , Acho que assim Desbuga =S
Reply
#3

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    SetPlayerPos(playerid,1025.5751,-2140.7637,39.2032); // PLAYER
    SetPlayerCameraPos(playerid,1019.7552,-2141.0266,37.7274); // CAMERA
    SetPlayerCameraLookAt(playerid,1021.9974,-2140.9907,38.3012); // Para Aonde A Camera Vira
    SetPlayerFacingAngle(playerid, 82.6125); // ANGULO
    ApplyAnimation(playerid, "PARK", "Tai_Chi_Loop", 4.0, 1, 0, 0, 0, 0); // Animaзгo No Inicio =D
    return 1;
}
Verfique se esta tudo serto
Reply
#4

Modo correto de se usar AddPlayerClass:
Код:
AddPlayerClass(skin, Float:x, Float:y, Float:z, Float:Angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo);
exemplo:

pawn Код:
public OnGameModeInit()
{
    AddPlayerClass(1, PosX, PosY, PosZ, Angulo, 32, 500, 31, 500, 28, 500);
    //1 = skin id, PosX / PosY/ PosZ/ Angulo = altere para a posiзгo de spawn X, Y, Z, A desejada
    // 32, 500 = arma id, muniзгo
    // 31, 500 = arma id, muniзгo
    // 28, 500 = arma id, muniзгo
    return true;
}
Reply
#5

poblema й nas coordenada

vo postar do geito que eu uso
pawn Код:
SetPlayerPos(playerid,1979.8292,991.5703,59.5605);
    SetPlayerCameraPos(playerid,1974.199,990.087,60.791);
    SetPlayerCameraLookAt(playerid,1980.042,991.623,59.415);
    SetPlayerFacingAngle(playerid,102.25);
em ongamemodeinit
pawn Код:
for(new i, k = 299; k != i; ++i)
    {
        AddPlayerClass(i, 1958.3783,1343.1572,15.3746, 0, 0, 0, 0 , 0, 0, 0);
    }
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)