04.07.2014, 23:03
why the IP shows as: 49 In these codes (defination):
while using it:
The IP Says: 49, Not the correct ip like: 127.0.0.1
And i am using format for a message and all thing are working, but the IP string doesn't send me the correct player's ip,please help
pawn Код:
new ip[16];
GetPlayerIp(player1, ip, sizeof(ip));
pawn Код:
format(string3, sizeof(string3), "More: Muted [%s] | Frozen: [%s] | IP: [%d] | Score: [%d] | Current Warnings: [%d]", MuteType, FreezeType, ip, GetPlayerScore(player1), MaximumWarnings[player1]);
And i am using format for a message and all thing are working, but the IP string doesn't send me the correct player's ip,please help