02.11.2015, 12:44
(
Последний раз редактировалось TheDarkBlade; 03.11.2015 в 17:26.
)
Код:
CMD:fixveh(playerid, params[]) { if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to login first."); if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pPremiumAccount] < 1) return SendClientMessage(playerid, COLOR_WHITE, "Nu esti premium"); { if(IsPlayerInAnyVehicle(playerid)) { RepairVehicle(GetPlayerVehicleID(playerid)); Gas[GetPlayerVehicleID(playerid)] = 100; SendClientMessage(playerid, COLOR_WHITE, "Masina a fost reparata."); } } } return 1; }