[Ajuda] Posiзгo AddPlayerClass
#1

Tipo eu to usando isso aqui para AddPlayerClass

Quote:

AddPlayerClass(7, 1832.4519,-2387.8748,15.8021,180.6353,0,0,0,0,0,0);
AddPlayerClass(11, 1832.4519,-2387.8748,15.8021,180.6353,0,0,0,0,0,0);
AddPlayerClass(19, 1832.4519,-2387.8748,15.8021,180.6353,0,0,0,0,0,0);
AddPlayerClass(21, 1832.4519,-2387.8748,15.8021,180.6353,0,0,0,0,0,0);
AddPlayerClass(12, 1832.4519,-2387.8748,15.8021,180.6353,0,0,0,0,0,0);
AddPlayerClass(299, 1832.4519,-2387.8748,15.8021,180.6353,0,0,0,0,0,0);

i nao aparece o player so aparece em baixo o spawn i as setas alguem me ajuda ? ou indica aew oq vc usa !
Reply
#2

Tem que usar SetPlayerCameraLookAt.

wiki.sa-mp.com/wiki/SetPlayerCameraLookAt
Reply
#3

To criando um gm de drift , sou meio nube mais na minha GameModeInit ta assim

public OnGameModeInit()
{
SetPlayerCameraPos(playerid, 320.0, 50.0, 170.0);
SetPlayerCameraLookAt(playerid, 324.34, 54.122, 173.35);
AddPlayerClass(7, 1832.4519,-2387.8748,15.8021,180.6353,0,0,0,0,0,0);
AddPlayerClass(11, 1832.4519,-2387.8748,15.8021,180.6353,0,0,0,0,0,0);
AddPlayerClass(19, 1832.4519,-2387.8748,15.8021,180.6353,0,0,0,0,0,0);
AddPlayerClass(21, 1832.4519,-2387.8748,15.8021,180.6353,0,0,0,0,0,0);
AddPlayerClass(12, 1832.4519,-2387.8748,15.8021,180.6353,0,0,0,0,0,0);
AddPlayerClass(299, 1832.4519,-2387.8748,15.8021,180.6353,0,0,0,0,0,0);
return 1;
}

Quote:

C:\Users\famil_000\Desktop\Projeto Drift\gamemodes\BFD.pwn(14) : error 017: undefined symbol "playerid"
C:\Users\famil_000\Desktop\Projeto Drift\gamemodes\BFD.pwn(15) : error 017: undefined symbol "playerid"

Reply
#4

Essas 2 primeiras linhas tu apaga e poem na OnPlayerRequestClass
Reply
#5

viish nubei mals , era pra colocar no OnPlayerRequestClass
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)