CMD:vcar(playerid, params[]){if(vip[playerid] == 1){new carid;if(sscanf(params,\"i\", carid)) { SendClientMessage(playerid,COLOR_WHITE,\"Használat: /vcar [jármú id]\"); return 1; }SendClientMessage(playerid,COLOR_RED,\"Sikeresen lekértél egy jármût!\");if(carid > 611 || carid < 400) { SendClientMessage(playerid,COLOR_RED,\"HIBA: Nincs ilyen jármû id!\"); return 1; }else {new Float:x,Float:y,Float:z;GetPlayerPos(playerid,x,y,z);new car = CreateVehicle(carid,x,y,z,95.0,0,0,1000);PutPlayerInVehicle(playerid, car, 0);}}else if(vip[playerid] == 0){SendClientMessage(playerid,COLOR_RED,\"HIBA: Nem vagy V.I.P!\");}return 1;}CMD:vfegyver(playerid, params[]){if(vip[playerid] == 1){new id;new ammo;new weapon;if(sscanf(params,\"uii\",id,weapon,ammo)) SendClientMessage(playerid,COLOR_WHITE,\"Használat: /giveweapon [id] [fegyver id] [lõszer]\");else if (id == INVALID_PLAYER_ID) SendClientMessage(playerid, COLOR_RED, \"HIBA: Rossz játékos id!\");else {new str[128];if(weapon > 46 || weapon < 0) { SendClientMessage(playerid,COLOR_RED,\"HIBA: Nincs ilyen fegyver id!\"); return 1; }GetPlayerName(playerid,string,sizeof(string));format(str,sizeof(str),\"[VIP]%s {FF6600} adott neked fegyvert! {00FF33} (Fegyver id:%d | {FF9966} Lõszer: %d)\",str,weapon,ammo);SendClientMessage(id,COLOR_RED,str);GetPlayerName(id,str,sizeof(str));format(string,sizeof(string),\"{{FF9966}} Adtál %s-nak/nek fegyvert! {00FF33} (Fegyver id:%d | {FF6600} Lõszer: %d)\",str,weapon,ammo);SendClientMessage(playerid,COLOR_RED,str);GivePlayerWeapon(id,weapon,ammo);}}else if(vip[playerid] == 0){SendClientMessage(playerid,COLOR_RED,\"HIBA: Nem vagy V.I.P!\");}return 1;}CMD:vgoto(playerid, params[]){if(vip[playerid] == 1){new id;if(sscanf(params , \"u\" ,id)) SendClientMessage(playerid, COLOR_WHITE, \"Használat : /vgoto [id].\");else if (id == INVALID_PLAYER_ID) SendClientMessage(playerid, COLOR_RED, \"HIBA: Rossz játékos id!\");else {new Float:x;new Float:y;new Float:z;GetPlayerPos(id,x,y,z);SetPlayerPos(playerid,x+1,y+1,z);new str[128];GetPlayerName(id,str,sizeof(str));format(str,sizeof(str),\"{FF0000} Oda teleportáltál {EECCCC} %s-hoz/hez!\",str);SendClientMessage(playerid,COLOR_RED,str);}}else if(vip[playerid] == 0){SendClientMessage(playerid,COLOR_RED,\"HIBA: Nem vagy V.I.P\");}}CMD:vjail(playerid, params[]){if(vip[playerid] == 1){new id;if(sscanf(params , \"u\" ,id)) SendClientMessage(playerid, COLOR_WHITE, \"Használat : /vjail [id].\");else if (id == INVALID_PLAYER_ID) SendClientMessage(playerid, COLOR_RED, \"HIBA: Rossz játékos id!\");else {new str[200];GetPlayerName(playerid,str,sizeof(str));format(str,sizeof(str),\"{00FFFF} [VIP]%s {FF6600} börtönbe zárt!\",str);SendClientMessage(id,COLOR_RED,str);SetPlayerPos(id,223.3760,109.9426,999.0156);SetPlayerInterior(id,10);TogglePlayerControllable(id, 0);GetPlayerName(id,str,sizeof(str));format(string,sizeof(string),\"{FF6600} Börtönbe zártad {00FFFF} %s-t!\",str);SendClientMessage(playerid,COLOR_RED,str);}}else if(vip[playerid] == 0){SendClientMessage(playerid,COLOR_RED,\"HIBA: Nem vagy V.I.P\");}return 1;}CMD:vunjail(playerid, params[]){if(vip[playerid] == 1){new id;if(sscanf(params , \"u\" ,id)) SendClientMessage(playerid, COLOR_WHITE, \"Használat : /vunjail [id].\");else if (id == INVALID_PLAYER_ID) SendClientMessage(playerid, COLOR_RED, \"HIBA: Rossz játékos id!\");else {SpawnPlayer(id);new str[200];GetPlayerName(playerid,str,sizeof(str));format(str,sizeof(str),\"{00FFFF}[VIP]%s {FF6600}kiengedett a börtönbõl!\",str);SendClientMessage(id,COLOR_RED,str);TogglePlayerControllable(id, 1);GetPlayerName(id,str,sizeof(str));format(string,sizeof(string),\"{FF6600}Kiengedted a {00FFFF}börtönbõl %s-t!\",str);SendClientMessage(playerid,COLOR_RED,str);}}else if(vip[playerid] == 0){SendClientMessage(playerid,COLOR_RED,\"HIBA: Nem vagy V.I.P\");}return 1;}CMD:vfix(playerid, params[]){if(vip[playerid] == 1){if(IsPlayerInAnyVehicle(playerid)){new vehicle = GetPlayerVehicleID(playerid);RepairVehicle(vehicle);SetVehicleHealth(vehicle,1000);SendClientMessage(playerid,COLOR_RED,\"Jármûved javítva!\");}else{SendClientMessage(playerid,COLOR_RED,\"HIBA: Nem vagy jármûben!\");}}else if(vip[playerid] == 0){SendClientMessage(playerid,COLOR_RED,\"HIBA: Nem vagy V.I.P!\");}return 1;}CMD:advip(playerid, params[]){if(IsPlayerAdmin(playerid)) {new id;if(sscanf(params,\"u\", id)) return SendClientMessage(playerid,COLOR_WHITE,\"Használat: /advip [id]\");if(!IsPlayerConnected(id)) return SendClientMessage(playerid,COLOR_RED,\"HIBA: Rossz játékos id!\");else {new str[128];new name[64];GetPlayerName(id,str,sizeof(str));format(file, sizeof(file), \"/vip/%s.ini\", name);if(dini_Exists(file)) return SendClientMessage(playerid, COLOR_RED, \"A játékos már vip tag!\");format(str,sizeof(str),\"Kinevezted %s-t V.I.P-nak!\",str);dini_Create(file);SendClientMessage(playerid,COLOR_WHITE,string);vip[id] = 1;GetPlayerName(playerid,string,sizeof(str));format(str,sizeof(str), \"[Adminisztrátor]:%s V.I.P jogott adott neked, Gratulálunk!\", str);SendClientMessage(id,COLOR_WHITE,str);}}else if(AdminLevel[playerid] < 4) {SendClientMessage(playerid,COLOR_RED,\"HIBA: Túl kicsi az admin szinted ehhez a parancshoz!\");}return 1;}CMD:vipel(playerid, params[]){if(IsPlayerAdmin(playerid)) {new id;if(sscanf(params,\"u\", id)) return SendClientMessage(playerid,COLOR_WHITE,\"Használat: /vipel [id]\");if(!IsPlayerConnected(id)) return SendClientMessage(playerid,COLOR_RED,\"HIBA: Rossz játékos id!\");else {new str[126];GetPlayerName(id,str,sizeof(str));format(str,sizeof(str),\"Törölted %s V.I.P jogát!\",str);dini_Remove(file);SendClientMessage(playerid,COLOR_RED,str);vip[id] = 0;GetPlayerName(playerid,str,sizeof(str));format(str,sizeof(str), \"[Adminisztrátor]:%s elvette a V.I.P jogod, sajnáljuk!\", str);SendClientMessage(id,COLOR_RED,str);}}else if(AdminLevel[playerid] < 4) {SendClientMessage(playerid,COLOR_RED,\"HIBA: Túl kicsi az admin szinted ehhez a parancshoz!\");}return 1;}