Jump to content
  • 0

intrebare hostname


Andr3y

Question

9 answers to this question

Recommended Posts

dar imi da erorile astea:|

C:\Documents and Settings\alexandra\My Documents\Romania RealLife RPG\Romania RealLife\gamemodes\RealLife.pwn(38441) : error 017: undefined symbol "SetHostNameText"

C:\Documents and Settings\alexandra\My Documents\Romania RealLife RPG\Romania RealLife\gamemodes\RealLife.pwn(38442) : error 017: undefined symbol "SetHostNameText"

C:\Documents and Settings\alexandra\My Documents\Romania RealLife RPG\Romania RealLife\gamemodes\RealLife.pwn(38443) : error 017: undefined symbol "SetHostNameText"

C:\Documents and Settings\alexandra\My Documents\Romania RealLife RPG\Romania RealLife\gamemodes\RealLife.pwn(38444) : error 017: undefined symbol "SetHostNameText"

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

4 Errors.

erorile

case 0:SetHostNameText("-[Ro] Romania RealLife RPG [0.3D]");

case 1:SetHostNameText("-La 10 playeri 5 lvl up + 200k ");

case 2:SetHostNameText("-Sambata Se Va Da 100k + 1k Drugs + 2k Mats Celor On");

case 3:SetHostNameText("-Aducetiva Toti Prietenii Sa Joace Aici");

Snapshot_2012_03_07_003934.jpg
Link to comment
Share on other sites

Ti-am facut eu un FS ;)

[pawn]//==//==//==//==//==//==//==//==//==//==//==//==//==//==//==//==//==//==//==//==

#include          <a_samp>

  //HostName Changer pt Andr3y by Xpllor

forward HostName( );

//==//==//==//==//==//==//==//==//==//==//==//==//==//==//==//==//==//==//==//==

public HostName()

{

    new rand=random(5); //Aici schimbi 5 in de cate ori schimbi numele, ATENTIE: exista si "case 0"

    switch(rand)

{

case 0:SendRconCommand("hostname [Ce nume vrei la server1]");

case 1:SendRconCommand("hostname [Ce nume vrei la server2]");

case 2:SendRconCommand("hostname [Ce nume vrei la server3]");

case 3:SendRconCommand("hostname [Ce nume vrei la server4]");

case 4:SendRconCommand("hostname [Ce nume vrei la server5]");

//Daca vrei sa mai adaugi hostname-uri, copie de sus si schibma case 4 in case 5 si asa mai departe

}

    return 1;

}

//==//==//==//==//==//==//==//==//==//==//==//==//==//==//==//==//==//==//==//==

public OnFilterScriptInit()

{

    SetTimer("SchimbaNumele", 6000, 0);

return 1;

}

//==//==//==//==//==//==//==//==//==//==//==//==//==//==//==//==//==//==//==//==

#if defined PS

Daca vrei aceste coduri le poti

Insera in GameMode casa nu fo-

lo sesti atatea FS-uri

#endif

[/pawn]

Acestea daca vrei si stii le poti baga in gamemode, daca nu bagal in filterscript si in server.cfg adauga numele care lai dat si gata!

9zZndmN.png
Link to comment
Share on other sites

erorile

case 0:SetHostNameText("-[Ro] Romania RealLife RPG [0.3D]");

case 1:SetHostNameText("-La 10 playeri 5 lvl up + 200k ");

case 2:SetHostNameText("-Sambata Se Va Da 100k + 1k Drugs + 2k Mats Celor On");

case 3:SetHostNameText("-Aducetiva Toti Prietenii Sa Joace Aici");

Massari e curva mea

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.