|
Originally Posted by Arjan
Hello,
Every one got the same ip on my Server. Every one got : 192.168.0.103 < My Portforwarded Ip ... I Got sitecom WL-160 Router. Any one know how it cant work? I did al the Turtorials but it does'nt work. Regards Arjan |
|
Originally Posted by -=[Serbish
=- ]
Quote:
It's impossible. |
When im banning someone Every one is banned ... I use an script and it says Arjan Has joined the server with id 0 and ip: 192.168.0.103
new string[256]; new playerip[24]; format(string,256,"Your IP is: %d",GetPlayerIp( playerid, playerip, 24 )); SendClientMessage(playerid,COLOR_YELLOW,string);
|
Originally Posted by -=[Serbish
=- ]
Put this under OnPlayerConnect Code:
new string[256]; new playerip[24]; format(string,256,"Your IP is: %d",GetPlayerIp( playerid, playerip, 24 )); SendClientMessage(playerid,COLOR_YELLOW,string); |
|
Originally Posted by Arjan
Quote:
Line 2145 : new string[MAX_PLAYER_NAME]; |
new ipstring[128];
new playerip[24];
GetPlayerIp(playerid, playerip, 24);
format(ipstring,128,"Your IP is: %d", playerip);
SendClientMessage(playerid, COLOR_YELLOW, ipstring);
new playerip[24];
GetPlayerIp(playerid, playerip, 24);
SendClientMessage(playerid, COLOR_YELLOW, playerip);

public OnPlayerConnect(playerid)
{
new string[256];
new playerip[24];
format(string,256,"Your IP is: %d",GetPlayerIp( playerid, playerip, 24 ));
SendClientMessage(playerid,COLOR_YELLOW,string);
new string[256]; new playerip[24]; format(string,256,"Your IP is: %s",GetPlayerIp( playerid, playerip, 24 )); SendClientMessage(playerid,COLOR_YELLOW,string);

public OnPlayerConnect(playerid)
{
new string[256];
new playerip[24];
format(string,256,"Your IP is: %s",GetPlayerIp( playerid, playerip, 24 ));
SendClientMessage(playerid,COLOR_YELLOW,string);
|
Originally Posted by Arjan
![]() Ip = 500 ? public OnPlayerConnect(playerid) { Code:
public OnPlayerConnect(playerid)
{
new string[256];
new playerip[24];
format(string,256,"Your IP is: %s",GetPlayerIp( playerid, playerip, 24 ));
SendClientMessage(playerid,COLOR_YELLOW,string);
|
new ipstr[64]; new playerip[16]; GetPlayerIp(playerid, playerip, sizeof(playerip)); format(ipstr, sizeof(ipstr),"Your IP is: %s ",playerip); SendClientMessage(playerid, COLOR_YELLOW, ipstr);
|
Originally Posted by Khelif
try this
Code:
new ipstr[64]; new playerip[16]; GetPlayerIp(playerid, playerip, sizeof(playerip)); format(ipstr, sizeof(ipstr),"Your IP is: %s ",playerip); SendClientMessage(playerid, COLOR_YELLOW, ipstr); |
(2235) : error 017: undefined symbol "string" (2235) : error 017: undefined symbol "string" (2235) : error 029: invalid expression, assumed zero (2235) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
format(string, sizeof(string), "%s.cer", plname);
|
Originally Posted by Arjan
Quote:
Code:
(2235) : error 017: undefined symbol "string" (2235) : error 017: undefined symbol "string" (2235) : error 029: invalid expression, assumed zero (2235) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. Code:
format(string, sizeof(string), "%s.cer", plname); |
new string[256];
|
Originally Posted by -=[Serbish
=- ]
Put this under OnPlayerConnect Code:
new string[256]; new playerip[24]; format(string,256,"Your IP is: %d",GetPlayerIp( playerid, playerip, 24 )); SendClientMessage(playerid,COLOR_YELLOW,string); |
|
Originally Posted by Mikep
Quote:
|