GetPlayerIP
#1

Код:
GetPlayerIp(playerid, IP[playerid], 16);
Код:
(95) : error 017: undefined symbol "IP"
(95) : warning 215: expression has no effect
(95) : error 001: expected token: ";", but found "]"
(95) : error 029: invalid expression, assumed zero
(95) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Reply
#2

PHP код:
new temp[16]; GetPlayerIp(playeridtempsizeof(temp)), printf("Player IP: %s"temp); 
Reply
#3

Quote:
Originally Posted by d1git
Посмотреть сообщение
PHP код:
new temp[MAX_PLAYER_NAME 1]; GetPlayerName(playeridtempsizeof(temp)), printf("Player Name: %s"temp); 
i updated the post now. IP errors.
Reply
#4

use it like this:
PHP код:
new plrIP[16];
GetPlayerIp(playeridplrIPsizeof(plrIP));
printf("Player IP: %s"plrIP); 
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)