Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Car Customization System for Admins
- // By EvanA(Evan Abagail)
- // Version 3 with all new features!!
- // Added Wheel Arch Angels Customization for Sultan as a preview for the next version!
- // Added /sultanhelp
- #include <a_samp>
- #include zcmd
- #if defined FILTERSCRIPT
- #define pAdmin
- #define filterscript
- CMD:gr(playerid, params[]) {
- return cmd_goldrims(playerid, params);
- }
- CMD:cr(playerid, params[]) {
- return cmd_cutterrims(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;
- }
- CMD:cutterrims(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), 1079);
- SendClientMessageEx(playerid, COLOR_GREY, " Cutter Rims Added to Vehicle!");
- }
- }
- return 1;
- }
- CMD:rimshine(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), 1075);
- SendClientMessageEx(playerid, COLOR_GREY, "You have added Rimshine wheels to your vehicle!");
- }
- }
- return 1;
- }
- CMD:mega(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), 1074);
- SendClientMessageEx(playerid, COLOR_GREY, "You have added Mega wheels to your vehicle!");
- }
- }
- return 1;
- }
- CMD:shadow(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), 1073);
- SendClientMessageEx(playerid, COLOR_GREY, "You have added Shadow wheels to your vehicle!");
- }
- }
- return 1;
- }
- CMD:grove(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), 1081);
- SendClientMessageEx(playerid, COLOR_GREY, "You have added Grove wheels to your vehicle!");
- }
- }
- return 1;
- }
- CMD:import(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), 1082);
- SendClientMessageEx(playerid, COLOR_GREY, "You have added Import wheels to your vehicle!");
- }
- }
- return 1;
- }
- CMD:dollar(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), 1083);
- SendClientMessageEx(playerid, COLOR_GREY, "You have added Rimshine wheels to your vehicle!");
- }
- }
- return 1;
- }
- CMD:trance(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), 1084);
- SendClientMessageEx(playerid, COLOR_GREY, "You have added Trance wheels to your vehicle!");
- }
- }
- return 1;
- }
- CMD:hyd(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), 1087);
- SendClientMessageEx(playerid, COLOR_GREY, "You have added Rimshine wheels to your vehicle!");
- }
- }
- return 1;
- }
- CMD:stereo(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), 1086);
- SendClientMessageEx(playerid, COLOR_GREY, "You have added a stereo system to your vehicle!");
- }
- }
- return 1;
- }
- CMD:convertable(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), 1087);
- SendClientMessageEx(playerid, COLOR_GREY, "You have converted your car to a convertable!");
- }
- }
- return 1;
- }
- CMD:pro(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), 1000);
- SendClientMessageEx(playerid, COLOR_GREY, "You have added a pro spoiler to your vehicle!");
- }
- }
- return 1;
- }
- CMD:win(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), 1087);
- SendClientMessageEx(playerid, COLOR_GREY, "You have added a win spoiler to your vehicle!");
- }
- }
- return 1;
- }
- CMD:sultanhelp(playerid, params[])
- {
- if(IsPlayerConnected(playerid)) {
- if(PlayerInfo[playerid][pAdmin] < 1) {
- SendClientMessageEx(playerid, COLOR_GRAD1, "You are not authorized to use that command!");
- return 1;
- }
- SendClientMessageEx(playerid, COLOR_GREY, "___________Sultan Customization_________");
- SendClientMessageEx(playerid, COLOR_GREY, "Alien Sideskirts: Right - /raliensultan Left - /laliensultan");
- SendClientMessageEx(playerid, COLOR_GREY, "Exahusts: Alien -- /alienexsultan X-Flow -- /xflowexsultan ");
- SendClientMessageEx(playerid, COLOR_GREY, "X:Flow Sideskirts: Right -- /rxflowsultan Left -- /lxflowsultan ");
- SendClientMessageEx(playerid, COLOR_GREY, "Roof Vents: Alien - /alienroofsultan X:Flow - /xflowroofsultan ");
- }
- }
- return 1;
- }
- CMD:raliensultan(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), 1026);
- SendClientMessageEx(playerid, COLOR_GREY, "You have added a win spoiler to your vehicle!");
- }
- }
- return 1;
- }
- CMD:laliensultan(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), 1027);
- SendClientMessageEx(playerid, COLOR_GREY, "You have added a Alien Side-Skirt to your Sultan!");
- }
- }
- return 1;
- }
- CMD:alienexsultan(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), 1028);
- SendClientMessageEx(playerid, COLOR_GREY, "You have added a Alien Exahust to your vehicle!");
- }
- }
- return 1;
- }
- CMD:xflowexsultan(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), 1029);
- SendClientMessageEx(playerid, COLOR_GREY, "You have added a X-Flow Exahust to your Sultan!");
- }
- }
- return 1;
- }
- CMD:lxflowsultan(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), 1030);
- SendClientMessageEx(playerid, COLOR_GREY, "You have added a X-Flow Side-Skirt(Left) to your Sultan!");
- }
- }
- return 1;
- }
- CMD:rxflowsultan(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), 1031);
- SendClientMessageEx(playerid, COLOR_GREY, "You have added a X-Flow Side-Skirt(Right) to your sultan!");
- }
- }
- return 1;
- }
- CMD:alienroofsultan(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), 1032);
- SendClientMessageEx(playerid, COLOR_GREY, "You have added an alien roof vent to your Sultan!");
- }
- }
- return 1;
- }
- CMD:xflowroofsultan(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), 1033);
- SendClientMessageEx(playerid, COLOR_GREY, "You have added an alien roof vent to your Sultan!");
- }
- }
- return 1;
- }
- #endif
Advertisement
Add Comment
Please, Sign In to add comment