Jump to content
  • 0

pomoc [POMOC] Příkaz na změnu RCON


Denonymous

Dotaz

Čau, potřebuju zjistit jak udělat že když hráč napíše nějakej příkaz aby se změnil rcon na ten kterej "nastavim" v editoru.

 

Nebo příkaz, aby se do chatu napsal rcon, jakej je na serveru... Díky.

 

Něco jako skrytej příkaz no. :d

Link to comment
Share on other sites

5 odpovědí na tuto otázku

Recommended Posts

  • 0

-_-

 new s[100];
 GetServerVarAsString("rcon_password", s, sizeof(s));
 format(s, sizeof(s), "RCON Password: %s", s);
 SendClientMessage(playerid, -1, s);
Edited by rEf
Link to comment
Share on other sites

  • 0

aby se změnil rcon na ten kterej "nastavim"

new 
	sString[100 + 1];
format(sString, sizeof(sString), "rcon_password %s", NoveRconHeslo);
SendRconCommand(sString);
Link to comment
Share on other sites

  • 0

Díky SkiBigu. :)

 

 

 

//EDIT


C:\Users\JA\Desktop\thug2.pwn(1377) : error 037: invalid string (possibly non-terminated string)
C:\Users\JA\Desktop\thug2.pwn(1380) : error 017: undefined symbol "newrcon123"

 

 

:(

Edited by Denonymous
Link to comment
Share on other sites

  • 0

Díky SkiBigu. :)

 

 

 

//EDIT

 

:(

Hodil by se sem dát kod. Nemáš nadefinované newrcon123. Což ani nevím, kde jsi vyhrabal...

Edited by PetrPaulik
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...