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.
  • Similar Content

    • By StefanFun
      Salut! Am o problemă, când vreau să instalez SA-MP 0.3.7-R2 Windows Server ca să fac un server pur și simplu nu se descarcă nimic și se dă refresh la pagină. Fac ceva greșit? Vă rog să mă ajutați.
    • By Tudor Ionut
      Salut. Am si eu o problema la samp. Caracterul meu daca apas pe tasta f, enter, ctrl, shift da cu pumnul incontinuu. Nu pot intra in masina in casa intr un bussines nicaieri. Multumesc anticipat
    • By Rby Robert
      Am incercat sa bag un crate nou si imi da aceste erori!
      nu stiu de la ce este va rog ajutatima!
      error 025: function heading differs from prototype
    • By CenzoR
      Salut, ma poate ajuta cineva cum se face exact chestia aia cand intri si iesi dintr-un biz/casa, sa-ti dea freeze pana se incarca mappingul?
    • By FlobertRO
      Cum pot schimba o comanda de tipul "strcmp" in "cmd" ? un exemplu daca se poate, multumesc <3
  • Recently Browsing   0 members

    No registered users viewing this page.

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