Jump to content

TheGodfather

Membru
  • Content Count

    143
  • Joined

  • Last visited

Community Reputation

4 Neutru

About TheGodfather

  • Rank
    Membru avansat

Profile Information

  • Sex
    Masculin
  • In-game Name
    TheGodfather
  • Level of knowledge
    Începător

Recent Profile Visitors

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

  1. Am pus la fiecare separat, cu notepad++ am dat insert all sau cum se numeste optiune, gen sa imi pune dupa fiecare nume de comanda
  2. Sunt 631 mai exact, am pus tot gmul in notepad++, ctrl+f, ycmd: dupa find all in current document si sunt 631
  3. La comenzi separate daca pun verificare merge, ca am incercat la una. Da pana pun la 600... De asta vreau sa vad daca se poate pune ceva pe la alta functie
  4. Trebuie sa pun la fiecare comanda in parte verificare? Am 600 si de comenzi... Nu pot pune la onplayercommandperformed o singura verificare sau ceva?
  5. Vreau sa fie doar pentru comenzi, adica /(nume comanda). Cum ai spus tu merge doar daca nu e comanda.
  6. Tot la fel face, nu afiseaza nimic
  7. Nu se intampla nimic, am pus ce ai pus si tu inafara de acel kickex, iar in loc de acel SCMT am pus SCMf(playerid, COLOR_WARNING,"SERVER: %s a primit kick (posibil spam).",GetName(playerid));
  8. Daca pun functia asta si o apelez separat la comanda merge bine, dar is 600+ comenzi in gm... pana le pun :l function nomessage(playerid) { if(aspam[playerid] > 0) return SCMEx(playerid, COLOR_LIGHTRED, "[Command Anti-Spam] {FFFFFF}Asteapta %d secunde.", aspam[playerid]); return 1; }
  9. N-am idee de ce nu vrea, am pus in toate modurile. Iar de cmd, nu ma pun sa modific atatea comenzi dintr-un gm
  10. Nu gasesc in niciun include, nu stiu ce are de arata mesajul ala
  11. Stai ca am vazut ca scrie SERVER: Unknown command! si eu in gamemode n-am niciunde mesajul asta, acolo scrie ERROR
  12. Zcmd folosesc, am pus asa si la fel face. public OnPlayerCommandPerformed(playerid, cmdtext[], success) { if((gettime() - antispam2[playerid]) < 3) { SCMf(playerid, COLOR_LIGHTRED, "[Command Anti-Spam] {FFFFFF}Asteapta %d secunde.", antispam2[playerid] - gettime()); return 1; } if(success) SpamCheck[playerid] = GetTickCount(); if(!success) return SCM(playerid, COLOR_GREY, "ERROR: Unknown command!"); antispam2[playerid] = gettime() + 3; return true; }
  13. Nu am onplayercommandtext, am doar onplayercommandreceived, performed si onplayertext.
  14. public OnPlayerCommandPerformed(playerid, cmdtext[], success) { if((gettime() - antispam2[playerid]) < 3) { SCMf(playerid, COLOR_LIGHTRED, "[Command Anti-Spam] {FFFFFF}Asteapta %d secunde.", antispam2[playerid] - gettime() + 3); return 0; } if(success) SpamCheck[playerid] = GetTickCount(); if(!success) return SCM(playerid, COLOR_GREY, "ERROR: Unknown command!"); antispam2[playerid] = gettime(); return true; } Asta am la aceasta functie, de fiecare data cand tastez o comanda, indiferent ca e doar /a sau /a 1
×
×
  • 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.