24.03.2013, 18:08
Instead of going to payn spray and stuff like that i decided to make it easier.
Код:
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; }