Jump to content
  • 0

Creare comanda /testtw


Cheloo_

Question

Salut! As dori si eu o comanda de tip /testtw pentru server.

Sa-ti apara un mesaj gen, ai fost tras la teste TW, accepti testul?

Daca da, 'DA' sa ii dea get la admin.

Daca da 'NU' sa ia ban automat 7 zile de la AdmBot pe motiv "Necooperare admin(TW)."

Multumesc!

Link to comment
Share on other sites

10 answers to this question

Recommended Posts

  • 0
23 minutes ago, AlexxAdv said:

https://pastebin.com/YjqKdP65 poftim, n-am testat, dar ar trebui sa mearga, daca nu merge ceva, imi zici

: error 017: undefined symbol "gPlayerLogged"
wa-rpg.pwn(27493) : warning 215: expression has no effect
wa-rpg.pwn(27493) : error 001: expected token: ";", but found "]"
wa-rpg.pwn(27493) : error 029: invalid expression, assumed zero
wa-rpg.pwn(27493) : fatal error 107: too many error messages on one line
 

Link to comment
Share on other sites

  • 0
3 minutes ago, AlexxAdv said:

Mna.. sterge asta     if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to login first.");

Acum merge, multumesc mult. Dar doar o intrebare mai am. Cum pot face ca doar in admin de level 6 de exemplu sa o poata folosii?

Link to comment
Share on other sites

  • 0
38 minutes ago, Cheloo_ said:

Acum merge, multumesc mult. Dar doar o intrebare mai am. Cum pot face ca doar in admin de level 6 de exemplu sa o poata folosii?

La comanda /testtw ai 

if(PlayerInfo[playerid][pAdmin] >= 1) in loc de 1 ala pui de la ce admin sa o poata folosi in caz tau pui 6.

Link to comment
Share on other sites

  • 0
2 minutes ago, AlexxAdv said:

La comanda /testtw ai 

if(PlayerInfo[playerid][pAdmin] >= 1) in loc de 1 ala pui de la ce admin sa o poata folosi in caz tau pui 6.

Am observat acum ca daca apasa pe butonul 'refuza' nu primeste ban nici nimic. 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • 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.