[Ajuda] AddPlayerClass
#1

Quero colocar aquele sistema de quando eu logar selecionar a skin pelas "< >" nгo sei o que aconteceu, mais nгo ta funcionando, olhem como esta.

PHP код:
    AddPlayerClass(107,2508.3000488281,-1684.8000488281,13.60000038147,0,0,0,0,0,0,0); //Grove 1
    
AddPlayerClass(269,2508.3000488281,-1684.8000488281,13.60000038147,0,0,0,0,0,0,0); //Grove 2
    
AddPlayerClass(270,2508.3000488281,-1684.8000488281,13.60000038147,0,0,0,0,0,0,0); //Grove 3
    
AddPlayerClass(102,2000.6999511719,-1122.5999755859,26.700000762939,0,0,0,0,0,0,0); //Ballas 1
    
AddPlayerClass(103,2000.6999511719,-1122.5999755859,26.700000762939,0,0,0,0,0,0,0); //Ballas 2
    
AddPlayerClass(104,2000.6999511719,-1122.5999755859,26.700000762939,0,0,0,0,0,0,0); //Ballas 3
    
AddPlayerClass(114,1843.5999755859,-2025.6999511719,13.5,0,0,0,0,0,0,0); //Aztecas 1
    
AddPlayerClass(115,1843.5999755859,-2025.6999511719,13.5,0,0,0,0,0,0,0); //Aztecas 2
    
AddPlayerClass(116,1843.5999755859,-2025.6999511719,13.5,0,0,0,0,0,0,0); //Aztecas 3
    
AddPlayerClass(108,2347.6000976563,-1167.9000244141,27.799999237061,0,0,0,0,0,0,0); //Vagos 1
    
AddPlayerClass(109,2347.6000976563,-1167.9000244141,27.799999237061,0,0,0,0,0,0,0); //Vagos 2
    
AddPlayerClass(110,2347.6000976563,-1167.9000244141,27.799999237061,0,0,0,0,0,0,0); //Vagos 3
    
AddPlayerClass(118,421.60000610352,2530.5,16.60000038147,0,0,0,0,0,0,0); //FARC 1
    
AddPlayerClass(294,421.60000610352,2530.5,16.60000038147,0,0,0,0,0,0,0); //FARC 2
    
AddPlayerClass(71,226,1911.8000488281,17.60000038147,0,0,0,0,0,0,0); //FA 1
    
AddPlayerClass(287,226,1911.8000488281,17.60000038147,0,0,0,0,0,0,0); //FA 2 
PHP код:
public OnPlayerRequestClass(playeridclassid)
{
    
SetPlayerInterior(playerid0);
    
SetPlayerPos(playerid1477.6999511719,-1753,33.400001525879);
    
SetPlayerCameraPos(playerid1477.6999511719,-1757,33.400001525879);
    
SetPlayerCameraLookAt(playerid1477.6999511719,-1753,33.400001525879);
    
SetPlayerFacingAngle(playerid180.5555);
    
ApplyAnimation(playerid"Dancing""Dan_Loop_A"5.010000);
    return 
0;

Nгo esta aparecendo todas as skins quando clica nas setas "< >"

E tambйm quero que cada skin nasзa em um local diferente, tem como me ajudarem ?
Reply
#2

como assim cara?
Reply
#3

Aqui um tutorial,

https://sampforum.blast.hk/showthread.php?tid=162227
Reply
#4

Quote:
Originally Posted by Cleyson
Посмотреть сообщение
Valeu cara, me ajudou bastante.

Tem como ajudar aqui tambйm ?

https://sampforum.blast.hk/showthread.php?tid=552703
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)