SA-MP Forums Archive
Can't change name of Zgaming Roleplay Script - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Can't change name of Zgaming Roleplay Script (/showthread.php?tid=369723)



Can't change name of Zgaming Roleplay Script - Hambaken_NL - 17.08.2012

When i try to change name in the zrp.pwn script and save it. The hostname won't change!!! I can even delete the zrp.pwn and the server can still run without zrp.pwn? Is there any hidden file in the folder? Do you guys know how to fix /contract bug? When i try to contract someone it says you already contracted this player..


Re: Can't change name of Zgaming Roleplay Script - Sandiel - 17.08.2012

Are you sure you changed the .amx file?
And the server.cfg gamemode0 line?


Re: Can't change name of Zgaming Roleplay Script - Kirollos - 17.08.2012

the server used to read from .amx files, .pwn is for scripting, and PAWN compiler is to convert .pwn to .amx


Re: Can't change name of Zgaming Roleplay Script - Cena44 - 17.08.2012

wrong wrong wrong....

if you noticed that(which you didn't):
pawn Код:
public OnGameModeInit()
{
    CheckFiles();
    SetGameModeText(SERVER_GM_TEXT);
    SendRconCommand("hostname Zgaming");
    SendRconCommand("weburl www.Zgaming.com");
    SendRconCommand("mapname San Andreas");
change that instead of Server.cfg


Re: Can't change name of Zgaming Roleplay Script - Hambaken_NL - 17.08.2012

I didn't changed the AMX file , Can you guys explain me that how 2do that?


Re: Can't change name of Zgaming Roleplay Script - Cena44 - 17.08.2012

open pawno, search for:
pawn Код:
public OnGameModeInit()
look for the hostname, change it to your server's name, change the weburl to the weburl you want, change the mapnam to the mapname you want


Re: Can't change name of Zgaming Roleplay Script - Hambaken_NL - 17.08.2012

Already done that. Do i need to edit the AMX file?


Re: Can't change name of Zgaming Roleplay Script - Cena44 - 17.08.2012

press F5 and wait for the .amx to appear, and no you can't edit the .amx file


Re: Can't change name of Zgaming Roleplay Script - Hambaken_NL - 17.08.2012

Man you got teamviewer or something? Because the hostname won't change ...


Re: Can't change name of Zgaming Roleplay Script - Cena44 - 17.08.2012

are you changing it from your server.cfg or ZRP.pwn?