PDA

View Full Version : Need anti bike bhop fs


HD-RP
07/08/2012, 07:36 AM
Can someone make or help me make fs for preventing players from bhopping with bike? Realy want to add bikes to my server, but it's non rp because they would just keep going over walls and that kind of stuff :3

ZBits
07/08/2012, 08:28 AM
how can they bunny hop with bike? are you talking about the BMX?

Here you can use this http://forum.sa-mp.com/showthread.php?t=298326
+rep if i helped

HD-RP
07/08/2012, 09:56 AM
Damn xD In my language it's the same thing xD I mean BMX xD I allready have this one, but it doesn't stop bhoping with BMX :3

ZBits
07/08/2012, 10:07 AM
ok i will check for more

ZBits
07/08/2012, 10:12 AM
Use This

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(newkeys & KEY_FIRE)
{
new vid = GetPlayerVehicleID(playerid);
if(GetVehicleModel(vid) == 510)
{
SetVehicleVelocity(vid,0.0,0.0,0.0);
SendClientMessage(playerid,0xFFFFFFFF,"Jumping is not allowed!");
}
return 1;
}

+rep if i helped