Jump to content

DrooM @TacPac

Membru
  • Posts

    42
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by DrooM @TacPac

  1. E de la 0 cretinule, daca nu stii sa faci o simpla comaparare, inseamna ca esti Scripter level 9999
  2. CMD:startradar(playerid, params[]) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pMember] != 1) return SCM(playerid,COLOR_WHITE, "ERROR: You are not a officer."); if(OnDuty[playerid] != 1) return SendClientMessage(playerid,COLOR_WHITE, "ERROR: You are not on Duty."); new tmpcar = GetPlayerVehicleID(playerid); new ccar = IsPlayerInAnyVehicle(playerid); if(ccar && IsACopCar(tmpcar) || ccar && IsANgCar(tmpcar) || ccar && IsAFbiCar(tmpcar)) { if(Radaron[playerid] == 1) return SCM(playerid,COLOR_WHITE, "ERROR: You have active radar."); new viteza,string[128]; if(sscanf(params, "d",viteza)) return SCM(playerid,COLOR_GREY, "Folosire: {FFFFFF}/startradar <Speed Limit>"); if(viteza > 199 || viteza < 50) return SCM(playerid,COLOR_WHITE, "Error: Invalid speedlimit (50-199)."); Radaron[playerid] = 1; Radarlimit[playerid] = viteza; TogglePlayerControllable(playerid, 0); format(string,sizeof(string),"{FFFF00}Radar has been activated. Speedlimit is now: %d KM/H.",viteza); SCM(playerid,COLOR_WHITE,string); return 1; } else return SCM(playerid,COLOR_WHITE, "Error: You are not in the cop car."); } return 1; } CMD:stopradar(playerid, params[]) { if(IsPlayerConnected(playerid)) { if(!IsACop(playerid)) return SCM(playerid,COLOR_WHITE, "ERROR: You are not a cop."); if(Radaron[playerid] == 0) return SCM(playerid,COLOR_WHITE, "Error: You don't have active radar."); Radaron[playerid] = 0; Radarlimit[playerid] = 0; SCM(playerid,COLOR_WHITE,"{FFFF00}You turned off radar, and now speedlimit is destroy."); TogglePlayerControllable(playerid, 1); return 1; } return 1;
  3. CMD:makeadmin(playerid, params[]) { if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to login first."); if(IsPlayerConnected(playerid)) { if (PlayerInfo[playerid][pAdmin] >= 5) { new id,adminlevel,sendername[30],giveplayer[30],string[200],escape[200]; if(sscanf(params, "ui",id,adminlevel)) return SendClientMessage(playerid, COLOR_WHITE, "Scrie: /makeadmin <Name/Playerid> <Admin Level>"); if(PlayerInfo[playerid][pAdmin] < 5) return SendClientMessage(playerid, COLOR_RED, "Nu esti autorizat sa folosesti comanda."); if(PlayerInfo[id][pAdmin] >= 6 && !EstiFondator(playerid)) return SendClientMessage(playerid, COLOR_WHITE, "Nu poti modifica admin level-ul unui admin 6+!."); if(adminlevel > 4 && !EstiFondator(playerid)) return SendClientMessage(playerid, COLOR_WHITE, "Only founders can make admin higher than 4."); if(IsPlayerConnected(id)) { if(id != INVALID_PLAYER_ID) { GetPlayerName(id, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); printf("({FF6347}AdminStaff{FFFFFF}) %s has promoted %s to a level %d admin.", sendername, giveplayer, adminlevel); format(string, sizeof(string), "You've been promoted to level %d admin, by %s.", adminlevel, sendername); SendClientMessage(id, COLOR_WHITE, string); format(string, sizeof(string), "You have promoted %s to a level %d admin.", giveplayer,adminlevel); SendClientMessage(playerid, COLOR_YELLOW, string); format(string, sizeof(string), "* Admin %s set %s's admin level to %d.", sendername,giveplayer,adminlevel); ABroadCast(COLOR_ADMCHAT,string,1); HLChat(COLOR_ADMCHAT,string); mysql_real_escape_string(string, escape); PlayerInfo[id][pAdmin] = adminlevel; if(adminlevel == 0) { AdminDuty[id] = 0; } new str[256]; mysql_format(SQL,str,sizeof(str),"UPDATE users SET `Admin`='%d' WHERE `name`='%s'",PlayerInfo[id][pAdmin],PlayerInfo[id][pNormalName]); mysql_tquery(SQL,str,"",""); mysql_format(SQL,str, sizeof(str), "INSERT INTO staff_logs (`text`) VALUES ('%s')", escape); mysql_tquery(SQL,str,"",""); } } else { SendClientMessage(playerid, COLOR_WHITE, "{FFFFCC}Error: Player not connected."); } } else { SendClientMessage(playerid, COLOR_LIGHTGREEN3, "You need admin 6+ to use this."); } } return 1; }
  4. Si ce ai adaugat tu nou la el? Nu ne lasi si noua detalii?
  5. Se anunta blackfriday 7 zile? ❤ Unde? La B-Host.Ro. ❤ Am schimbat tema, un design mult mai frumos si cu multe alte imbunatatiri. ❤ WebHost incepand de la 0.80 Euro. ❤ Sa:Mp 2 euro pe luna, 50 sloturi + baza de date. Minecraft 3 euro pe luna. Counter Strike Global Offensive 4 euro pe luna. Counter Strike 1.6 2 Euro Pe luna. Am facut un forum https://forum.b-host.ro ❤ Cereri affiliere ONLINE. ? In curand B-Shop. ❤ Domenii incepand de la 2 EURO. ❤ Support tickete 24/7. ❤ Support Live-Chat 24/7 ? Implementam gamemode-uri free. ? Au fost adaugate licente de vanzare. (woty) Au fost adaugate optiunile de web-developing. Intra si tu acum pe https://b-host.ro si alege cel mai ieftin host. ❤
  6. 512, 4gb ti-o ia din cauza la Memoria RAM de la windows, dar placa video normala e de 512 MB
  7. Pm me. Da-mi pe privat sau facebook > https://www.facebook.com/profile.php?id=100013113372318
  8. Ce sa furi din asta? E o porcarie de bigzone.
  9. Bun, recunosc, are cateva buguri, dar spune-mi tu cine pula mea ar fi prost sa posteze un GM cu 0 buguri? Eu ti-am dat gm-ul, nu e treaba mea sa-l fac sa-l rezolv, eu ti-am dat mura-n gura, daca vrei sa il faci bun nu ai decat sa-l rezolvi.
  10. new house = PlayerInfo[playerid][pPhousekey],string[200],sendername[MAX_PLAYER_NAME];
  11. Nu ai cum sa-l faci sa mearga fara XAMPP, doar daca e NON-Mysql
  12. Clar, de ce l-ai mai postat daca l-ai sters.
  13. Hmm, urat, la fel ca cel Original. Dar +1 pentru munca depusa.
  14. Nu le scoate, poti sa-l vinzi, daca spui ca ai GM.
  15. Am acest panel, si in curand il vor avea toti
  16. Poze cu gamemode-ul + panel-ul? Panel-ul il am si eu, si cred ca-l postez.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.