Jump to content

CRISTIANN

Member
  • Posts

    126
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by CRISTIANN

  1. si unde pun functia function deleteDealership( playerid ) { RemoveBuildingForPlayer(playerid, 6475, 322.4219, -1514.9922, 55.2891, 0.25); RemoveBuildingForPlayer(playerid, 6476, 332.8906, -1500.0625, 29.8750, 0.25); RemoveBuildingForPlayer(playerid, 730, 364.9766, -1449.3281, 34.0078, 0.25); RemoveBuildingForPlayer(playerid, 730, 378.4219, -1438.3750, 33.6016, 0.25); RemoveBuildingForPlayer(playerid, 730, 285.9766, -1564.5156, 32.8828, 0.25); RemoveBuildingForPlayer(playerid, 6518, 310.3438, -1546.9688, 69.5625, 0.25); RemoveBuildingForPlayer(playerid, 733, 395.9844, -1454.7344, 30.6406, 0.25); RemoveBuildingForPlayer(playerid, 729, 262.8594, -1559.7188, 32.5391, 0.25); RemoveBuildingForPlayer(playerid, 729, 379.1250, -1475.3281, 31.4219, 0.25); RemoveBuildingForPlayer(playerid, 621, 271.3125, -1563.8281, 32.1094, 0.25); RemoveBuildingForPlayer(playerid, 621, 266.5703, -1551.0391, 32.1094, 0.25); RemoveBuildingForPlayer(playerid, 620, 279.7344, -1565.5156, 32.2813, 0.25); RemoveBuildingForPlayer(playerid, 1216, 295.1641, -1573.0625, 33.1563, 0.25); RemoveBuildingForPlayer(playerid, 3671, 296.2266, -1553.2188, 57.0391, 0.25); RemoveBuildingForPlayer(playerid, 1216, 296.7578, -1573.2969, 33.1563, 0.25); RemoveBuildingForPlayer(playerid, 620, 311.7891, -1571.0625, 32.2813, 0.25); RemoveBuildingForPlayer(playerid, 620, 300.6797, -1570.7109, 31.6797, 0.25); RemoveBuildingForPlayer(playerid, 620, 272.3828, -1533.3672, 31.6797, 0.25); RemoveBuildingForPlayer(playerid, 3671, 300.6719, -1540.3906, 57.0391, 0.25); RemoveBuildingForPlayer(playerid, 3671, 306.1094, -1528.5000, 57.0391, 0.25); RemoveBuildingForPlayer(playerid, 1232, 325.2656, -1539.5547, 35.2031, 0.25); RemoveBuildingForPlayer(playerid, 1232, 330.9766, -1531.0703, 35.2031, 0.25); RemoveBuildingForPlayer(playerid, 621, 323.6719, -1534.6563, 32.1094, 0.25); RemoveBuildingForPlayer(playerid, 3671, 312.8203, -1517.0938, 57.0391, 0.25); RemoveBuildingForPlayer(playerid, 6342, 322.4219, -1514.9922, 55.2891, 0.25); RemoveBuildingForPlayer(playerid, 3671, 320.6797, -1506.4531, 57.0391, 0.25); RemoveBuildingForPlayer(playerid, 3671, 329.6094, -1496.6953, 57.0391, 0.25); RemoveBuildingForPlayer(playerid, 6341, 332.8906, -1500.0625, 29.8750, 0.25); RemoveBuildingForPlayer(playerid, 1232, 342.5781, -1514.8594, 35.2031, 0.25); RemoveBuildingForPlayer(playerid, 620, 345.3125, -1506.5000, 32.1719, 0.25); RemoveBuildingForPlayer(playerid, 1232, 349.4063, -1507.3203, 35.2031, 0.25); RemoveBuildingForPlayer(playerid, 3671, 339.5156, -1487.9219, 57.0391, 0.25); RemoveBuildingForPlayer(playerid, 3671, 350.2813, -1480.2266, 57.0391, 0.25); RemoveBuildingForPlayer(playerid, 6386, 356.1953, -1514.6563, 33.7813, 0.25); RemoveBuildingForPlayer(playerid, 620, 363.4609, -1493.3672, 32.1719, 0.25); RemoveBuildingForPlayer(playerid, 712, 388.9141, -1472.6016, 39.6719, 0.25); RemoveBuildingForPlayer(playerid, 620, 371.3984, -1448.6250, 33.7344, 0.25); RemoveBuildingForPlayer(playerid, 1284, 416.8672, -1464.4375, 32.6875, 0.25); RemoveBuildingForPlayer(playerid, 1283, 416.0156, -1453.2422, 32.6641, 0.25); return true; }
  2. da am facut mapping-ul mai bine zis mapper-ul a facut mi-a dat datele etc si trb sa bag si asta dar nu stiu unde mai exact RemoveBuildingForPlayer(playerid, 6475, 322.4219, -1514.9922, 55.2891, 0.25); RemoveBuildingForPlayer(playerid, 6476, 332.8906, -1500.0625, 29.8750, 0.25); RemoveBuildingForPlayer(playerid, 730, 364.9766, -1449.3281, 34.0078, 0.25); RemoveBuildingForPlayer(playerid, 730, 378.4219, -1438.3750, 33.6016, 0.25); RemoveBuildingForPlayer(playerid, 730, 285.9766, -1564.5156, 32.8828, 0.25); RemoveBuildingForPlayer(playerid, 6518, 310.3438, -1546.9688, 69.5625, 0.25); RemoveBuildingForPlayer(playerid, 733, 395.9844, -1454.7344, 30.6406, 0.25); RemoveBuildingForPlayer(playerid, 729, 262.8594, -1559.7188, 32.5391, 0.25); RemoveBuildingForPlayer(playerid, 729, 379.1250, -1475.3281, 31.4219, 0.25); RemoveBuildingForPlayer(playerid, 621, 271.3125, -1563.8281, 32.1094, 0.25); RemoveBuildingForPlayer(playerid, 621, 266.5703, -1551.0391, 32.1094, 0.25); RemoveBuildingForPlayer(playerid, 620, 279.7344, -1565.5156, 32.2813, 0.25); RemoveBuildingForPlayer(playerid, 1216, 295.1641, -1573.0625, 33.1563, 0.25); RemoveBuildingForPlayer(playerid, 3671, 296.2266, -1553.2188, 57.0391, 0.25); RemoveBuildingForPlayer(playerid, 1216, 296.7578, -1573.2969, 33.1563, 0.25); RemoveBuildingForPlayer(playerid, 620, 311.7891, -1571.0625, 32.2813, 0.25); RemoveBuildingForPlayer(playerid, 620, 300.6797, -1570.7109, 31.6797, 0.25); RemoveBuildingForPlayer(playerid, 620, 272.3828, -1533.3672, 31.6797, 0.25); RemoveBuildingForPlayer(playerid, 3671, 300.6719, -1540.3906, 57.0391, 0.25); RemoveBuildingForPlayer(playerid, 3671, 306.1094, -1528.5000, 57.0391, 0.25); RemoveBuildingForPlayer(playerid, 1232, 325.2656, -1539.5547, 35.2031, 0.25); RemoveBuildingForPlayer(playerid, 1232, 330.9766, -1531.0703, 35.2031, 0.25); RemoveBuildingForPlayer(playerid, 621, 323.6719, -1534.6563, 32.1094, 0.25); RemoveBuildingForPlayer(playerid, 3671, 312.8203, -1517.0938, 57.0391, 0.25); RemoveBuildingForPlayer(playerid, 6342, 322.4219, -1514.9922, 55.2891, 0.25); RemoveBuildingForPlayer(playerid, 3671, 320.6797, -1506.4531, 57.0391, 0.25); RemoveBuildingForPlayer(playerid, 3671, 329.6094, -1496.6953, 57.0391, 0.25); RemoveBuildingForPlayer(playerid, 6341, 332.8906, -1500.0625, 29.8750, 0.25); RemoveBuildingForPlayer(playerid, 1232, 342.5781, -1514.8594, 35.2031, 0.25); RemoveBuildingForPlayer(playerid, 620, 345.3125, -1506.5000, 32.1719, 0.25); RemoveBuildingForPlayer(playerid, 1232, 349.4063, -1507.3203, 35.2031, 0.25); RemoveBuildingForPlayer(playerid, 3671, 339.5156, -1487.9219, 57.0391, 0.25); RemoveBuildingForPlayer(playerid, 3671, 350.2813, -1480.2266, 57.0391, 0.25); RemoveBuildingForPlayer(playerid, 6386, 356.1953, -1514.6563, 33.7813, 0.25); RemoveBuildingForPlayer(playerid, 620, 363.4609, -1493.3672, 32.1719, 0.25); RemoveBuildingForPlayer(playerid, 712, 388.9141, -1472.6016, 39.6719, 0.25); RemoveBuildingForPlayer(playerid, 620, 371.3984, -1448.6250, 33.7344, 0.25); RemoveBuildingForPlayer(playerid, 1284, 416.8672, -1464.4375, 32.6875, 0.25); RemoveBuildingForPlayer(playerid, 1283, 416.0156, -1453.2422, 32.6641, 0.25);
  3. vreau sa distrug ds,ul este acolo langa apartamente ls
  4. mai precis unde bag asa ceva RemoveBuildingForPlayer
  5. Unde adaug RemoveBuillding?? si imi puteti zice daca sunt corect adaugate coordonatele if(!PlayerToPoint(3.0,playerid,292.0191, -1538.0739, 31.8278))
  6. b-hood nu are nici un sistem de metin boss ce-ai patit?
  7. new hour,minute,second, year, month, day; gettime(hour,minute,second); getdate(year, month, day); new days[180]; format(days, sizeof(days), GetWeekDay(day, month, year)); if(PlayerInfo[playerid][pAdmin] < 7) { if(strcmp(days,"Saturday",true) == 0 || strcmp(days,"Sunday",true) == 0) return SCM(playerid, COLOR_LIGHTRED, "Nu se dau war-uri in weekend!"); if(hour == 16 || hour == 23if(hour == 13 || hour == 14) {} else return SCM(playerid, COLOR_LIGHTRED, "War-uri se pot da doar in intervalul 16:00 - 23:00!"); if(GetFactionMembersOn2(PlayerInfo[playerid][pMember]) < 2) return SCM(playerid, COLOR_LGREEN, "Nu poti folosi aceasta comanda deoarece nu sunt minim 3 membri conectati din factiunea ta!"); if(GetFactionMembersOn2(TurfInfo[turf][zOwned]) < 2) return SCM(playerid, COLOR_LGREEN, "Nu poti folosi aceasta comanda deoarece nu sunt minim 3 membri conectati din factiunea care detine teritoriul!"); }
  8. pai nu da nici o eroare se salveaza tot dar cand intru pe sv si vrea cnv sa dea /attack ii zice ca nu se poate da attack dar orele sunt puse corect
  9. pai am pus dar nu se editeaza nu merge
  10. Cum pot schimba intervalul war-urilor? de ex de la 16:00 la 23:00
  11. Salutare leaks Imi puteti zice cum schimb durata unui war pe gm-ul burned? Deoarece am cautat dar nu gasesc nmc Multumesc.
  12. multumesc. dar stiti cum pot face sa nu trb sa dau admin si din baza de date??? deoarece daca dau cu /setadmin cand da relog ii se scoate admin si trb sa ii bag din baza de date
  13. Cine imi poate da si mie link unde pot descarca liftul ptr apartamente de pe plaja Multumesc.
  14. imi puteti da comenzile /setadmin si /sethelper care sa fie bune ptr gm burned? Multumesc
  15. da-mi iar discordul tau te rog.
  16. asa trb sa fie? if(adminlevel >= 1) format(query,sizeof(query),"UPDATE users SET `Admin`='%d', `Security`='%s',`HelpedPlayers`='0' WHERE `ID`='%d'",PlayerInfo[id][pAdmin],MD5_Hash(string);, PlayerInfo[id][pSQLID]);
  17. if(adminlevel >= 1) format(query,sizeof(query),"UPDATE users SET `Admin`='%d', `Security`='%s',`HelpedPlayers`='0' WHERE `ID`='%d'",PlayerInfo[id][pAdmin], MD5_Hash, PlayerInfo[id][pSQLID]);
  18. YCMD:setadmin(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 6) return SendClientMessage(playerid, COLOR_WHITE, AdminOnly); new id,adminlevel,string[200]; if(sscanf(params, "ui",id,adminlevel)) return SendClientMessage(playerid, COLOR_GREY, "USAGE: {FFFFFF}/setadmin <playerid/name> <Admin Level>"); if(!IsPlayerConnected(id) || id == INVALID_PLAYER_ID) return SendClientMessage(playerid, COLOR_GREY, "Acel player nu este conectat."); if(adminlevel < 0 || adminlevel > 6) return SCM(playerid, COLOR_GREY, "Invalid admin level! (0-6)"); if(PlayerInfo[id][pAdmin] > PlayerInfo[playerid][pAdmin]) return SCM(playerid, COLOR_GREY, "Nu poti executa aceasta comanda pe acel player!"); format(string, sizeof(string), "Ai fost promovat la admin %d de %s.", adminlevel, GetName(playerid)); SendClientMessage(id, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "I-ai setat lui %s admin %d.", GetName(id),adminlevel); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "AdmCmd: %s i-a setat lui %s admin %d.", GetName(playerid),GetName(id),adminlevel); if(GetPVarInt(playerid, "Cover") == 0) SendAdminMessage(COLOR_LOGS, string,4); if(adminlevel == 0) { PlayerInfo[id][pAW] = 0; UpdateVar(id, "AW", 0); SpecFaction[id] = 0; StopFly(playerid); UsedFly[playerid] = 0; SetPlayerHealthEx(playerid, 99); SendClientMessage(playerid, 0xFFADADFF, "Fly mode off."); } else finishAchievement(id, 27); PlayerInfo[id][pAdmin] = adminlevel; new query[180]; if(adminlevel >= 1) format(query,sizeof(query),"UPDATE users SET `Admin`='%d', `Security`='%s',`HelpedPlayers`='0' WHERE `ID`='%d'",PlayerInfo[id][pAdmin], MD5_Hash, PlayerInfo[id][pSQLID]); else format(query,sizeof(query),"UPDATE users SET `Admin`='%d' WHERE `ID`='%d'",PlayerInfo[id][pAdmin],PlayerInfo[id][pSQLID]); mysql_query(SQL,query); SetPVarInt(id, "SecurityPlayer", 0); return 1; } YCMD:sethelper(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_WHITE, AdminOnly); new id, string[180], lvl; if(sscanf(params, "ui",id, lvl)) return SendClientMessage(playerid, COLOR_GREY, "USAGE: {FFFFFF}/sethelper <playerid/name> <level(0-3)>"); if(!IsPlayerConnected(id) || id == INVALID_PLAYER_ID) return SendClientMessage(playerid, COLOR_GREY, "Acel player nu este conectat."); if(lvl < 0 || lvl > 3) return SCM(playerid, COLOR_GREY, "Invalid helper level! (0-3)"); PlayerInfo[id][pHelper] = lvl; if(lvl > 0) { format(string, sizeof(string), "Ai fost promovat ca helper level %d de %s.", lvl, GetName(playerid)); SendClientMessage(id, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "I-ai setat lui %s helper %d.", GetName(id)); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); finishAchievement(id, 26); } else { HelperDuty[playerid] = 0, HaveHelp[playerid] = -1; format(string, sizeof(string), "Ai fost scos din functia de helper de %s.", GetName(playerid)); SendClientMessage(id, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "L-ai scos pe %s din functia de helper", GetName(id)); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); PlayerInfo[id][pHW] = 0; UpdateVar(id, "HW", 0); NewbieChat[playerid] = 0; } format(string, sizeof(string), "AdmCmd: %s i-a setat lui %s helper %d.", GetName(playerid),GetName(id),lvl); if(GetPVarInt(playerid, "Cover") == 0) SendAdminMessage(COLOR_LOGS, string,4); new query[128]; format(query,sizeof(query),"UPDATE users SET `Helper`='%d',`HelpedPlayers`='0' WHERE `ID`='%d'",lvl,PlayerInfo[id][pSQLID]); mysql_query(SQL,query); return 1; }
×
×
  • Create New...