Posiзгo AddPlayerClass -
Luucass - 12.08.2013
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 !
Re: Posiзгo AddPlayerClass -
Juniiro3 - 12.08.2013
Tem que usar SetPlayerCameraLookAt.
wiki.sa-mp.com/wiki/SetPlayerCameraLookAt
Re: Posiзгo AddPlayerClass -
Luucass - 12.08.2013
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"
|
Re: Posiзгo AddPlayerClass -
Juniiro3 - 12.08.2013
Essas 2 primeiras linhas tu apaga e poem na OnPlayerRequestClass
Re: Posiзгo AddPlayerClass -
Luucass - 12.08.2013
viish nubei mals , era pra colocar no OnPlayerRequestClass