Jump to content

Tudo

Membru
  • Posts

    45
  • Joined

  • Last visited

Profile Information

  • Level of knowledge
    Începător

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Tudo's Achievements

Contributor

Contributor (5/14)

  • First Post
  • Collaborator
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. Am inteles, asta chiar nu am stiut, dar cand foloseam disparea doar la jucatorul care folosea comanda la ceilalti ramanea . Nu, nu am nici macar sobeit in pc .
  2. Folosesc un gamemode mai vechi deoarece mi se pare mult mai usor sa invat pe el .
  3. Am incercat si asta, m-am uitat pe wiki la toate dar tot nu functioneaza, singura chestie care imi face bara sa dispara este " ShowNameTags(0); " insa de aparut inapoi teoretic este ShowNameTags(1); dar nu apare bara .
  4. Deci am facut pe comanda asta am definit dupa cum mi-ai spus "new NameTag[MAX_PLAYERS];" , si am incercat in joc, la ambele comenzi nu se intampla nimic . if (strcmp("/nameoff", cmdtext, true) == 0) { for(new i = 0; i < MAX_PLAYERS; i++) ShowPlayerNameTagForPlayer(i, playerid, false); NameTag[playerid] = 0; GameTextForPlayer(playerid, "~W~Nametags ~R~off", 5000, 5); return 1; } if (strcmp("/nameon", cmdtext, true) == 0) { for(new i = 0; i < MAX_PLAYERS; i++) ShowPlayerNameTagForPlayer(i, playerid, true); NameTag[playerid] = 1; GameTextForPlayer(playerid, "~W~Nametags ~G~ON", 5000, 5); return 1; }
  5. Degeaba, tot nu dispare bara de viata/armura.
  6. Acum e problema asta , iar ShowNameTags(0); nu-l mai folosesc ca din cat am facut eu asta imi facea bara sa dispara.. error 017: undefined symbol "NameTag"
  7. Am incercat si asa..tot degeaba . Dar treaba este ca daca nu pun "ShowNameTags(0);" nu dispare bara ...
  8. Deci cand dau /undercover on dispare bara de viata,armura,nume iar cand dau /undercover off nu apare la normal .. if(strcmp(cmd, "/undercover", true) == 0) { if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8 || PlayerInfo[playerid][pMember] == 2 ||PlayerInfo[playerid][pLeader] == 2) { if (PlayerToPoint(20, playerid,1211.0614,-4.8793,1000.9219) || PlayerToPoint(30, playerid,234.1019,159.8395,1003.0234)) { new x_nr[256]; x_nr = strtok(cmdtext, idx); if(!strlen(x_nr)) { SendClientMessage(playerid, COLOR_WHITE, "{FF0000}Undercover: {FFFFFF}/undercover on/off"); return 1; } if(strcmp(x_nr,"on",true) == 0) { foreach(new i : Player) { ShowPlayerNameTagForPlayer(i, playerid, 0); } if(Masked[playerid] == 1) return SCM(playerid, COLOR_FADE1, "Esti UnderCover!"); GameTextForPlayer(playerid, "~W~Undercover ~R~ON", 5000, 5); Masked[playerid] = 1; BlockFind[playerid] = 1; ShowNameTags(0); SetPlayerSkin(playerid, skinsundercover[random(20)]); return 1; } if(strcmp(x_nr,"off",true) == 0) { foreach(new i : Player) { ShowPlayerNameTagForPlayer(i, playerid, 1); } if(Masked[playerid] == 0) return SCM(playerid, COLOR_FADE1, "Nu esti UnderCover!"); GameTextForPlayer(playerid, "~W~Undercover ~R~OFF", 5000, 5); Masked[playerid] = 0; ShowNameTags(1); BlockFind[playerid] = 0; SetPlayerSkin(playerid, PlayerInfo[playerid][pChar]); return 1; } } } return 1; } P.S Mersi de ajutor .
  9. Am reusit insa acum cand dau /undercover off nu mai apare bara...
  10. Problema este ca eu nu pot sa folosesc include-ul foreach deoarece primesc aceasta eroare la compilare...cum o pot rezolva ?! E:\GM\GM\pawno\include\YSI\y_iterate.inc(909) : warning 202: number of arguments does not match definition E:\GM\GM\pawno\include\YSI\y_iterate.inc(922) : error 025: function heading differs from prototype
  11. UP ! Chiar cer prea mult ?
  12. Deci am incercat sa fac o comanda [/undercover] ca sa dispara Numere si bara de viata/armura de la player insa nu functioneaza si nu inteleg de ce, a fost un moment in care mi-a iesit a disparut dar cand dadeam [/undercover offf] nu mai aparea bara de viata/armura...am incercat toate metodele care le-am gasit pe wiki insa nu imi mai dau seama ce sa mai incerc...asa ca va rog pe voi sa-mi spuneti ce am gresit sau ce trebuie sa modific, si daca sunteti doritori as vrea sa-mi explicati putin ca sa stiu ce am gresit . Va las aici toata comanda creata de mine, Multumesc . if(strcmp(cmd, "/undercover", true) == 0) { if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8 || PlayerInfo[playerid][pMember] == 2 ||PlayerInfo[playerid][pLeader] == 2) { if (PlayerToPoint(20, playerid,1211.0614,-4.8793,1000.9219) || PlayerToPoint(30, playerid,234.1019,159.8395,1003.0234)) { new x_nr[256]; x_nr = strtok(cmdtext, idx); if(!strlen(x_nr)) { SendClientMessage(playerid, COLOR_WHITE, "{FF0000}Undercover: {FFFFFF}/undercover on/off"); return 1; } if(strcmp(x_nr,"on",true) == 0) { for(new i = 0; i < MAX_PLAYERS; i++) { ShowPlayerNameTagForPlayer(playerid, i, 0); } if(Masked[playerid] == 1) return SCM(playerid, COLOR_FADE1, "Esti UnderCover!"); GameTextForPlayer(playerid, "~W~Undercover ~R~ON", 5000, 5); Masked[playerid] = 1; BlockFind[playerid] = 1; ShowNameTags(0); SetPlayerSkin(playerid, skinsundercover[random(20)]); return 1; } if(strcmp(x_nr,"off",true) == 0) { for(new i = 0; i < MAX_PLAYERS; i++) { ShowPlayerNameTagForPlayer(playerid, i, 1); } if(Masked[playerid] == 0) return SCM(playerid, COLOR_FADE1, "Nu esti UnderCover!"); GameTextForPlayer(playerid, "~W~Undercover ~R~OFF", 5000, 5); Masked[playerid] = 0; ShowNameTags(1); BlockFind[playerid] = 0; SetPlayerSkin(playerid, PlayerInfo[playerid][pChar]); return 1; } } } return 1; }
  13. Teoretic am inteles ce spui, insa practic nu stiu cum...daca ai timp su buna placere arata-mi un ex sa stiu cu ce sa incep . , oricum mersi ca incerci sa ma ajuti .
  14. Salut, vreau sa foloses acest fs ca DS si problema este cand cumpar o masina nu imi creaza key pe id-ul masinii, masina o creaza cu id corect iar key pentru masina imi incepe de la 1 si pe masina care o cumpar din DS nu am comenzi, toate comenzile le folosesc pe id-urile de la masinile 1,2,3,etc . Cum pot face sa creeze cheia nr ex: 300 pentru masina 300 ..ce trebuie sa adaug/schimb in fs ca apoi sa-l bag in GM . Multumesc de ajutor .
×
×
  • 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.