24.06.2011, 19:12
Hey , so I have made this.
It isn't doing anything....
If you want more code like the antifalofbike just ask.
Thanks
pawn Код:
public OnPlayerEnterVehicle(playerid,vehicleid, ispassenger)
{ if(GetVehicleModel(vehicleid) == 449)
{
AntiFalloff[playerid] = false;
SendClientMessage(playerid,COLOR_YELLOW,"Anti fall of bike was disabled to avoid the tram exciting bug.");
SendClientMessage(playerid,COLOR_YELLOW,"Use /afon to re-enable it.");
SendClientMessage(playerid,COLOR_RED,"NOTE: It is recommended to only turn it on again after you have excited the tram.");
SetCameraBehindPlayer(playerid);
}
return 1;
}
If you want more code like the antifalofbike just ask.
Thanks