[Ajuda] Rapidinho OnPlayerRequestClass nгo mostra o skin
#1

SetPlayerPos(playerid,1206.0300,-37.6137,1000.9531);
SetPlayerInterior(playerid, 3);
SetPlayerCameraPos(playerid,1206.0300,-37.6137,1000.9531);
SetPlayerCameraLookAt(playerid,1208.1188,-37.4153,1001.5911);


pawn Код:
AddPlayerClass(294,1206.0300,-37.6137,1000.9531,273.4180,0,0,0,0,0,0); // puteiro Cordenada 1
AddPlayerClass(294,1208.1188,-37.4153,1001.5911,277.3231,0,0,0,0,0,0); // puteiro2 Cordenada 2 (5 Passos)
Reply
#2

Add AddPlayerClass no OnGameModeInit ?
Reply
#3

Quote:
Originally Posted by JonathanFeitosa
Посмотреть сообщение
Add AddPlayerClass no OnGameModeInit ?
Concertesa

#Edit jonathan ficou igual ao seu https://sampforum.blast.hk/showthread.php?tid=253319 a ultima imagem da paisagem da grama sem os skins
Reply
#4

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
        SetPlayerPos(playerid,1206.0300,-37.6137,1000.9531);
        SetPlayerInterior(playerid, 3);
        SetPlayerCameraPos(playerid,1206.0300,-37.6137,1000.9531);
        SetPlayerCameraLookAt(playerid,1208.1188,-37.4153,1001.5911);
    switch (classid)
    {
        case 0:
        {
                        GameTextForPlayer(playerid, "puteiro 1", 3000, 4);
            return 1;
        }
        case 1:
        {
                        GameTextForPlayer(playerid, "puteiro 2", 3000, 4);
            return 1;
        }
         }
         return 1;
}
switch(classid) '-'
Reply
#5

Quote:
Originally Posted by TenhoUmaDuvida
Посмотреть сообщение
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
        SetPlayerPos(playerid,1206.0300,-37.6137,1000.9531);
        SetPlayerInterior(playerid, 3);
        SetPlayerCameraPos(playerid,1206.0300,-37.6137,1000.9531);
        SetPlayerCameraLookAt(playerid,1208.1188,-37.4153,1001.5911);
    switch (classid)
    {
        case 0:
        {
                        GameTextForPlayer(playerid, "puteiro 1", 3000, 4);
            return 1;
        }
        case 1:
        {
                        GameTextForPlayer(playerid, "puteiro 2", 3000, 4);
            return 1;
        }
         }
         return 1;
}
switch(classid) '-'
?? vc nao entendeu, tem alguma coisa errada aqui que nгo esta mostrando os skins
pawn Код:
SetPlayerPos(playerid,1206.0300,-37.6137,1000.9531);
        SetPlayerInterior(playerid, 3);
        SetPlayerCameraPos(playerid,1206.0300,-37.6137,1000.9531);
        SetPlayerCameraLookAt(playerid,1208.1188,-37.4153,1001.5911);
Como ta o meu:
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{

SetPlayerPos(playerid,1206.0300,-37.6137,1000.9531);
SetPlayerInterior(playerid, 3);
SetPlayerCameraPos(playerid,1206.0300,-37.6137,1000.9531);
SetPlayerCameraLookAt(playerid,1208.1188,-37.4153,1001.5911);

  if(classid == 0){
Gang[playerid] = MILITARES;
SetPlayerTeamEx(playerid,MILITARES);
GameTextForPlayer(playerid, "~p~GANG DOS MILITARES~n~~r~PRESSIONE SHIFT", 2000, 3);
SetPlayerColor(playerid, 0x0000FFAA);
PlayerPlaySound(playerid,1133,0.0,0.0,0.0);

..... (.....)
}
Reply
#6

Usa um Criador de Cвmeras, fica mais fбcil para vocк.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)