0 Members and 1 Guest are viewing this topic.
}else if(strcmp(cmd,"!fix",true) == 0){ if(!IsPlayerInAnyVehicle(playerid)) SendClientMessage(playerid,COLOR_GREY,"You're not in a vehicle!"); else if ( (GetPlayerVehicleID(playerid) == 155) || ( GetPlayerVehicleID(playerid) == 177) ) SendClientMessage(playerid,COLOR_RED,"You cant fix this vehicle"); else { SetVehicleTyre(GetPlayerVehicleID(playerid), 1); SetVehicleLights(GetPlayerVehicleID(playerid), 0); SetVehicleHealth(GetPlayerVehicleID(playerid),1000); SendClientMessage(playerid,COLOR_YELLOW,"Your Car Is Now Fixed Drive it!"); } return 1;
}else if (strcmp(cmd, "!ff", true) == 0) { new Float:X,Float:Y,Float:Z,Float:Angle; SetVehicleHealth(GetPlayerVehicleID(playerid),1000); GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,Angle); SetVehiclePos(GetPlayerVehicleID(playerid),X+3,Y+3,Z,Angle); SendClientMessage(playerid, COLOR_YELLOW, "Fliped And Fixed Your Car!"); SetVehicleToRespawn(GetPlayerVehicleID(playerid)); RemovePlayerFromVehicle(playerid); SetVehiclePos(GetPlayerVehicleID(playerid),X+3,Y+3,Z,Angle); return 1;