Jump to content

I O B I T

Membru
  • Posts

    124
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by I O B I T

  1. Vreau sa inplementez comanda /quests dintr-un gm si imi apar aceste erori, ma puteti ajuta? ss cu errorile : http://imgur.com/a/OrhVH comanda /quests : https://pastebin.com/pK4TMSmA Vreau sa precizez ca sunt 70% paralel cu scriptu si daca puteti sa imi explicati " ca la prosti" cum sar zice
  2. multumesc foarte mult @StR_Marian si @AlexBo$$ am rezolvat datorita voua. T/C
  3. am 2 errori acum la comanda goto http://imgur.com/a/ZLRcr @AlexBo$$
  4. comanda goto din GM ( daca ajuta cu ceva) CMD:goto(playerid, params[]) { new giveplayerid, splayer[25]; new Float:gx, Float:gy, Float:gz; if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_ERROR, "You need to login first."); if(PlayerInfo[playerid][pHelper] > 0 && HelperDuty[playerid] == 0) return SendClientMessage(playerid, COLOR_ERROR, "Trebuie sa fii la datorie ca sa folosesti aceasta comanda. Tasteaza /hod"); if(sscanf(params,"s[25]", splayer)) return SendClientMessage(playerid, COLOR_SYN, "(SERVER):{FFFFFF} /goto <Player ID/Name>"); { if(PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pHelper] >= 1) { if(GetPlayers(splayer) == INVALID_PLAYER_ID) return InvalidPlayer(playerid); else if(GetPlayers(splayer) == 1000) return ToManyResults(playerid); else if(GetPlayers(splayer) == 1001) return ShowResults(playerid, splayer); else giveplayerid = GetPlayers(splayer); if(AFK[playerid] == 1) return SendClientMessage(playerid, COLOR_ERROR, "You are sleeping."); format(gString, sizeof(gString), "%s a mers la %s.",GetName(playerid), GetName(giveplayerid)); if(PlayerInfo[playerid][pAdmin]) CMDRaport(gString, 1, 0); else CMDRaport(gString, 0, 1); if (PlayerInfo[playerid][pAdmin] >= 1) { format(gString, sizeof(gString), "Admin %s s-a teleportat la tine!",GetName(playerid)); SendClientMessage(giveplayerid, COLOR_SYN2, gString); } if (PlayerInfo[playerid][pHelper] >= 1) { format(gString, sizeof(gString), "Helper %s s-a teleportat la tine!",GetName(playerid)); SendClientMessage(giveplayerid, COLOR_SYN2, gString); } SetPlayerInterior(playerid, GetPlayerInterior(giveplayerid)); SetPlayerVirtualWorld(playerid, GetPlayerVirtualWorld(giveplayerid)); GetPlayerPos(giveplayerid, gx, gy, gz); if(GetPlayerState(playerid) == 2 && GetPlayerInterior(giveplayerid) == 0) { new gcar = GetPlayerVehicleID(playerid); SetVehiclePos(gcar, gx, gy+4, gz); } else { SetPlayerPos(playerid, gx, gy+2, gz); } BizzEntered[playerid] = BizzEntered[giveplayerid]; HouseEntered[playerid] = HouseEntered[giveplayerid]; } else SendClientMessage(playerid, COLOR_ERROR, "Your admin/helper level is not high enough to use this command."); } return 1; }
  5. Cum pot sa fac ca un admin 1-5 sa nu poata da /goto la un admin de rank 6? Adica sa fie un fel de restrictie care poate fi " activata " dintr-o comanda. ex : /antigoto si nu se mai poate teleporta nimeni la mine ( eu find admin 6 ) prin comanda /goto Nush daca m-am exprimat corect dar sper sa inteleaga cineva ce am vrut eu sa zic.
  6. nu gasesc ShowStats(playerid), nu gasesc nici un rezultat
  7. format(coordsstring, sizeof(coordsstring), "IP: %s\n",playersip); strcat(string2,coordsstring); } ShowPlayerDialog( playerid, DIALOG_FACTIONS, DIALOG_STYLE_MSGBOX, "Stats List", string2, "Ok", "" );
  8. Nu gasesc nici un fel de ShowStats() in GM. =(
  9. doar ShowStats-ul asta il am in GM, altu nu mai e
  10. ShowStats(playerid,playerid); timersoo[playerid] = SetTimerEx("SetSomate", 5000, 1, "i", playerid); somatee[playerid] = 0; SomatePermission[playerid] = 0;
  11. e mai sus toata comanda /stats si acolo e si Showstats();
  12. CMD:stats(playerid, params[]) { if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to log in first."); if(SomatePermission[playerid] == 0) return SendClientMessage(playerid, COLOR_WHITE, "{FEC3AC}Asteapta 5 secunde."); if(PlayerInfo[playerid][pLevel] < 1) return SCM(playerid,COLOR_WHITE,"{FFB870}Command currently inaccessible."); PlayerInfo[playerid][pStatus] = 1; new qqerry[128]; format(qqerry, sizeof(qqerry), "UPDATE `users` SET `Status` = '1' WHERE `name` = '%s'", GetPName(playerid)); mysql_query(SQL,qqerry); ShowStats(playerid,playerid); timersoo[playerid] = SetTimerEx("SetSomate", 5000, 1, "i", playerid); somatee[playerid] = 0; SomatePermission[playerid] = 0; return 1; }
  13. Vreau sa apara text /stats nu in casuta. nu prea ma pricep sunt incepator :'( img cu stats actual : http://imgur.com/a/2JdbY Si eu vreau sa apara asa : http://imgur.com/a/4lVz4
  14. Vreau sa apara text /stats nu in casuta. nu prea ma pricep sunt incepator :'( img cu stats actual : http://imgur.com/a/2JdbY Si eu vreau sa apara asa : http://imgur.com/a/4lVz4
  15. 2 ss-uri prin care sa vedeti problema : http://imgur.com/a/DD7JF Nush ce are, ma uit la problema asta de 30 min. si nu imi vine in minte nimic. Daca stie cineva?
  16. am auzit ca imi trebuie o variabila, daca stie cineva va rog sa lasati in comentarii cei care stiu.
  17. Daca intrii pe sv. cu numele unui admin (fara sa bagi parola) ai acces la /makehelper /spec /warn . Cum rezolv chestia asta?
  18. ce trebuie sa fac sa nu mai pice sv. cu %n %s etc?
×
×
  • 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.