SA-MP Forums Archive
[AJUDA]Bunnar Com B - 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: [AJUDA]Bunnar Com B (/showthread.php?tid=258104)



[AJUDA]Bunnar Com B - Vageto[STK] - 29.05.2011

eu to querendo um sistema de que vc aperta B e o carro pula alguem me ajuda?


Re: [AJUDA]Bunnar Com B - TheGarfield - 29.05.2011

https://sampwiki.blast.hk/wiki/OnPlayerKeyStateChange

para pegar as keys: https://sampwiki.blast.hk/wiki/GetPlayerKeys

e use:

pawn Код:
stock BungBungBung(playerid)
{
       static g[3]; GetVehiclePos(GetVehicleModel(playerid),g[0],g[1],g[2]);
       SetVehiclePos(GetVehicleModel(playerid),g[0],g[1],g[2]   + 10 );  // Aonde estб o 10 tu troca pela altura.
       return 1;
}
/\ pula-pula por min.