Jump to content
  • 0

HostnameChanger plz ajutor ...


Guest MFI

Question

Care stie cum sa fac sa se schimbe numele la srv repet sa se schimbe nu cum sa il schimb ex: srv lu MoroJr la el sint 2 nume vreau si eu ceva de genu "HostnameChanger" intelege-ti.

Link to comment
Share on other sites

10 answers to this question

Recommended Posts

  • 0

forward ChangeHostname()
;

public OnFilterScriptInit() {
     SetTimer("ChangeHostname",5000,1);
     return 1
;
}

public ChangeHostname() {

     new variable = random(3);
     switch (variable) {

         case 0: SendRconCommand("Numele");
         case 1: SendRconCommand("Numele 2");
         case 2: SendRconCommand("Numele 3"); } }

Link to comment
Share on other sites

  • 0

E:\Saintssasa\Saintssasa\Saints\filterscripts\name.pwn(4) : warning 235: public function lacks forward declaration (symbol "OnFilterScriptInit")

E:\Saintssasa\Saintssasa\Saints\filterscripts\name.pwn(5) : error 017: undefined symbol "SetTimer"

E:\Saintssasa\Saintssasa\Saints\filterscripts\name.pwn(12) : error 017: undefined symbol "random"

E:\Saintssasa\Saintssasa\Saints\filterscripts\name.pwn(15) : error 017: undefined symbol "SendRconCommand"

E:\Saintssasa\Saintssasa\Saints\filterscripts\name.pwn(16) : error 017: undefined symbol "SendRconCommand"

E:\Saintssasa\Saintssasa\Saints\filterscripts\name.pwn(17) : error 017: undefined symbol "SendRconCommand"

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

5 Errors.

Link to comment
Share on other sites

  • 0
Guest D3zaster

Sunt 3 feluri de a rezolva problema:

-Ei un program(Ex:CfG Witter download: http://solidfiles.com/d/bc9/)

-Cauti un File-Script cu asa ceva.

-Te loghezi rcon(Command /rcon login [rconpass]) si porma folosesti:•/rcon hostname [numele serverului] si il schimbi direct in joc.

Link to comment
Share on other sites

  • 0

E:\Saintssasa\Saintssasa\Saints\filterscripts\name.pwn(4) : warning 235: public function lacks forward declaration (symbol "OnFilterScriptInit")

E:\Saintssasa\Saintssasa\Saints\filterscripts\name.pwn(5) : error 017: undefined symbol "SetTimer"

E:\Saintssasa\Saintssasa\Saints\filterscripts\name.pwn(12) : error 017: undefined symbol "random"

E:\Saintssasa\Saintssasa\Saints\filterscripts\name.pwn(15) : error 017: undefined symbol "SendRconCommand"

E:\Saintssasa\Saintssasa\Saints\filterscripts\name.pwn(16) : error 017: undefined symbol "SendRconCommand"

E:\Saintssasa\Saintssasa\Saints\filterscripts\name.pwn(17) : error 017: undefined symbol "SendRconCommand"

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

5 Errors.

nu mai reinviati topicuri vechi

Sunt 3 feluri de a rezolva problema:

-Ei un program(Ex:CfG Witter download: http://solidfiles.com/d/bc9/)

-Cauti un File-Script cu asa ceva.

-Te loghezi rcon(Command /rcon login [rconpass]) si porma folosesti:•/rcon hostname [numele serverului] si il schimbi direct in joc.

daca ai observat, cel care cere ajutor nici nu mai are cont aici
Link to comment
Share on other sites

  • 0

LaZ" post="5273" timestamp="1232218989"]

forward ChangeHostname()
;

public OnFilterScriptInit() {
     SetTimer("ChangeHostname",5000,1);
     return 1
;
}

public ChangeHostname() {

     new variable = random(3);
     switch (variable) {

         case 0: SendRconCommand("Numele");
         case 1: SendRconCommand("Numele 2");
         case 2: SendRconCommand("Numele 3"); 
return 1;
} 

cred ca asa

senzaolo1xv.png

www.dsrclan.forumfree.it

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.