26.07.2013, 22:04
Well i got this script of changing wheels cmd
And i wanted to add another command that installs Cutter rims Could anyone help me?
Quote:
CMD:gr(playerid, params[]) { return cmd_goldrims(playerid, params); } CMD:goldrims(playerid, params[]) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pAdmin] < 1) { SendClientMessageEx(playerid, COLOR_GRAD1, "You are not authorized to use that command!"); return 1; } if(IsPlayerInAnyVehicle(playerid)) { AddVehicleComponent(GetPlayerVehicleID(playerid), 1080); SendClientMessageEx(playerid, COLOR_GREY, " Gold Rims Added to Vehicle!"); } } return 1; } |