02.03.2016, 09:28
Add this somewhere in your script
Add this in your server.cfg
It will look like this [This is example , just copy "bind yourserverip"
PHP Code:
stock GetServerIP()
{
new static, sIp[16];
GetServerVarAsString("bind", sIp, sizeof(sIp));
return sIp;
}
PHP Code:
bind yourserverip
PHP Code:
echo Executing Server Config...
lanmode 0
rcon_password changeme
maxplayers 50
port 7777
hostname SA-MP 0.3 Server
gamemode0 grandlarc 1
filterscripts gl_actions gl_realtime gl_property gl_mapicon ls_elevator attachments skinchanger vspawner ls_mall ls_beachside
announce 0
chatlogging 0
weburl www.sa-mp.com
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
logtimeformat [%H:%M:%S]
language English
bind yourserverip

