11.01.2011, 18:09
Quote:
1 Error and 2 warning:
Код:
C:\Users\Gabri\Desktop\[IWG]\gamemodes\Gamemode[IWG].pwn(403) : warning 202: number of arguments does not match definition C:\Users\Gabri\Desktop\[IWG]\gamemodes\Gamemode[IWG].pwn(403) : warning 202: number of arguments does not match definition C:\Users\Gabri\Desktop\[IWG]\gamemodes\Gamemode[IWG].pwn(403) : error 035: argument type mismatch (argument 3) Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error. PHP код:
|
pawn Код:
public OnPlayerConnect(playerid)
{
new string[256], pname[MAX_PLAYER_NAME], IP[16];
GetPlayerName(playerid, pname, sizeof(pname));
format(string, sizeof(string), "/User IPs/IP_%s.ini", pname);
GetPlayerIp(playerid, IP, sizeof(IP));
dini_Set(string, "UserIP", IP);
dini_Create(string);
return 1;
}