Jump to content

[INC] RCON Funkce


癌癌癌

Recommended Posts

Může se hodit....

 

Načist FilterScript:

stock LoadFS(f[128])
{
new string[48];
format(string,48,"loadfs %s",f)
SendRconCommand(string);
}

 

Vypnout FilterScript:

stock UnLoadFS(f[128])
{
new string[48];
format(string,48,"unloadfs %s",f)
SendRconCommand(string);
}

 

Změna názvu mapy:

 

stock Map(s[128])
{
new str[128];
format(str,sizeof(str),"mapname %s",s);
SendRconCommand(str);
}

 

Změna hostname:

 

stock Hostname(s[128])
{
new str[128];
format(str,sizeof(str),"hostname %s",s);
SendRconCommand(str);
}

 

No atd. :lol:

Link to comment
Share on other sites

a

 

co s tim?? nechapu k cemu to bude kdyz ty prikazy sou vsecky jiz v rocnu xD

 

 

Hmmm nějak chytrej ne tvl .... tohle je usnadnění abys to nemusel formatovat sam ... napišeš Map("Lamickovska Mapa"); než abys psal new str[128]; format(str,128,"mapname Lamickovska mapa"); SendRconCommand(str);

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...