SA-MP Forums Archive
[Pedido] Drift - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Pedido] Drift (/showthread.php?tid=547259)



Drift - Ts3 - 21.11.2014

bem gostaria de saber se alguйm pode ajustar esse sistema de drift para que o player sу possa fazer o drift ou ganhar os pontos caso esteja em tal veнculo.

http://pastebin.com/2Swc3si5


Re: Drift - ForT - 21.11.2014

Usa GetVehicleModel

Exemplo:
pawn Код:
//Fazer drift com o elegy.
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 562){
   
    //Fazer drift...
}



Re: Drift - Ts3 - 21.11.2014

Obrigado fort, funcionou mas eu tambйm queria colocar para sу contar para quem estiver driver eu tentei aqui mais deu erro.

http://pastebin.com/spvfUHqD


Re: Drift - ForT - 21.11.2014

pawn Код:
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 562 && GetPlayerState(playerid) == PLAYER_STATE_DRIVER){
   
    //Fazer drift...
}



Re: Drift - Ts3 - 21.11.2014

Agora compilou, obrigado ForT, jб dei muitas reps hoje e nгo estб dando para te dar, mais obrigado.