Can't change name of Zgaming Roleplay Script
#1

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..
Reply
#2

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

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

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
Reply
#5

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

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
Reply
#7

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

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

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)