if(newkeys & KEY_FIRE) // for bikes! { if(IsPlayerInAnyVehicle(playerid) && GetPlayerWeapon(playerid) == 29) { new vid = GetPlayerVehicleID(playerid); switch(GetVehicleModel(vid)) { case 522: RemovePlayerFromVehicle(playerid); case 462: RemovePlayerFromVehicle(playerid); case 521: RemovePlayerFromVehicle(playerid); case 461: RemovePlayerFromVehicle(playerid); case 463: RemovePlayerFromVehicle(playerid); case 581: RemovePlayerFromVehicle(playerid); case 448: RemovePlayerFromVehicle(playerid); case 586: RemovePlayerFromVehicle(playerid); case 523: RemovePlayerFromVehicle(playerid); case 468: RemovePlayerFromVehicle(playerid); case 471: RemovePlayerFromVehicle(playerid); case 509: RemovePlayerFromVehicle(playerid); case 481: RemovePlayerFromVehicle(playerid); case 510: RemovePlayerFromVehicle(playerid); } } } if((newkeys & KEY_FIRE && newkeys & KEY_LOOK_RIGHT) || (newkeys & KEY_FIRE && newkeys & KEY_LOOK_LEFT)) { if(IsPlayerInAnyVehicle(playerid)) { if(GetPlayerWeapon(playerid) == 29 || GetPlayerWeapon(playerid) == 28 || GetPlayerWeapon(playerid) == 32) { new string[128]; RemovePlayerFromVehicle(playerid); SendClientMessage(playerid, RED,"DriveBy is not allowed on this server!"); } } }
Originally Posted by ^Psycho^
unuseful script.. where tec, where uzi..
|
case 522: RemovePlayerFromVehicle(playerid);
case 462: RemovePlayerFromVehicle(playerid);
case 521: RemovePlayerFromVehicle(playerid);
case 461: RemovePlayerFromVehicle(playerid);
case 463: RemovePlayerFromVehicle(playerid);
case 581: RemovePlayerFromVehicle(playerid);
case 448: RemovePlayerFromVehicle(playerid);
case 586: RemovePlayerFromVehicle(playerid);
case 523: RemovePlayerFromVehicle(playerid);
case 468: RemovePlayerFromVehicle(playerid);
case 471: RemovePlayerFromVehicle(playerid);
case 509: RemovePlayerFromVehicle(playerid);
case 481: RemovePlayerFromVehicle(playerid);
case 510: RemovePlayerFromVehicle(playerid);
case 462,521,461,/*other models*/,510: RemovePlayerFromVehicle(playerid);