[Ajuda] Salvar posiзгo do veiculo
#6

Quote:
Originally Posted by Feconito
Посмотреть сообщение
agora estб dando esses erros

Код:
C:\Users\Fabio\Desktop\samp04\gamemodes\BU.pwn(12125) : error 035: argument type mismatch (argument 2)
C:\Users\Fabio\Desktop\samp04\gamemodes\BU.pwn(12126) : error 076: syntax error in the expression, or invalid function call
C:\Users\Fabio\Desktop\samp04\gamemodes\BU.pwn(12127) : warning 213: tag mismatch
C:\Users\Fabio\Desktop\samp04\gamemodes\BU.pwn(12128) : warning 213: tag mismatch
C:\Users\Fabio\Desktop\samp04\gamemodes\BU.pwn(12129) : warning 213: tag mismatch
C:\Users\Fabio\Desktop\samp04\gamemodes\BU.pwn(12130) : warning 213: tag mismatch
nessas linhas aqui
PHP код:
        GetVehiclePos(GetPlayerVehicleID(playerid), vehxvehyvehz);
        
GetVehicleZAngle(GetPlayerVehicleIDveha);
        
DOF2_SetFloat(String"SpawnX"vehx);
        
DOF2_SetFloat(String"SpawnY"vehy);
        
DOF2_SetFloat(String"SpawnZ"vehz);
        
DOF2_SetFloat(String"Angle"veha); 
Usa o meu filho -.-'

Quote:
Originally Posted by [BOPE]Seu._.Madruga
Посмотреть сообщение
PHP код:
enum Informacoes {
   
Float:vehx,
   
Float:vehy,
   
Float:vehz,
   
Float:veha
}
new 
DadosJogador[MAX_PLAYERS][Informacoes];

CMD:estacionarveiculo(playerid) {
    if(
DadosJogador[playerid][VEICULO_1]) {
        
GetVehiclePos(GetPlayerVehicleID(playerid), DadosJogador[playerid][vehx], DadosJogador[playerid][vehy], DadosJogador[playerid][vehz]);
        
GetVehicleZAngle(GetPlayerVehicleID(playerid), DadosJogador[playerid][veha]);
        
DOF2_SetFloat(String"SpawnX"DadosJogador[playerid][vehx]);
        
DOF2_SetFloat(String"SpawnY"DadosJogador[playerid][vehy]);
        
DOF2_SetFloat(String"SpawnZ"DadosJogador[playerid][vehz]);
        
DOF2_SetFloat(String"Angle"DadosJogador[playerid][veha]);
        
DOF2_SaveFile();
    }
    return 
true;

Reply


Messages In This Thread
Salvar posiзгo do veiculo - by Feconito - 27.04.2018, 14:30
Re: Salvar posiзгo do veiculo - by Minerva - 27.04.2018, 14:55
Re: Salvar posiзгo do veiculo - by 1sbedx - 27.04.2018, 15:08
Re: Salvar posiзгo do veiculo - by [BOPE]Seu._.Madruga - 28.04.2018, 02:48
Re: Salvar posiзгo do veiculo - by Feconito - 28.04.2018, 12:58
Re: Salvar posiзгo do veiculo - by [BOPE]Seu._.Madruga - 28.04.2018, 14:54

Forum Jump:


Users browsing this thread: 1 Guest(s)