15.07.2012, 11:26
pawn Код:
CMD:gr(playerid, params[])
{
if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid, 0xFFFFFFFF, "You are not in the driver seat!");
else if(GetPlayerMoney(playerid) <= 100000) return SendClientMessage(playerid, 0xFFFFFFFF, "You need 100 000$ to get gold rims!");
GivePlayerMoney(playerid, -100000);
AddVehicleComponent(GetPlayerVehicleID(playerid),1080);
SendClientMessage(playerid, 0xFFFFFFFF, "You have replaced your rims with gold rims.");
return 1;
}