D:\samp servas\Naujas aplankas\gamemodes\****.pwn(214) : error 017: undefined symbol "INI_ParseFile" D:\samp servas\Naujas aplankas\gamemodes\****.pwn(214) : warning 215: expression has no effect D:\samp servas\Naujas aplankas\gamemodes\****.pwn(214) : error 029: invalid expression, assumed zero D:\samp servas\Naujas aplankas\gamemodes\****.pwn(214) : error 017: undefined symbol "extra" D:\samp servas\Naujas aplankas\gamemodes\****.pwn(214) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
public OnPlayerConnect(playerid) { PosX[ playerid ] = 0; PosY[ playerid ] = 0; PosZ[ playerid ] = 0; Angle[ playerid ] = 0; Interior[ playerid ] = 0; VirtualWorld[ playerid ] = 0; INI_ParseFile( user_ini_file( playerid ), "load_user_%s", .bExtra = true, .extra = playerid ); return ( 1 ); }
public OnPlayerConnect(playerid) { PlayerInfo[playerid][PosX] = 0; PlayerInfo[playerid][PosY] = 0; PlayerInfo[playerid][PosZ] = 0; PlayerInfo[playerid][Angle] = 0; PlayerInfo[playerid][Interior] = 0; PlayerInfo[playerid][VirtualWorld] = 0; INI_ParseFile( user_ini_file( playerid ), "load_user_%s", .bExtra = true, .extra = playerid ); return ( 1 ); }
try that maybe? not sure didnt look at pwn..
Код:
public OnPlayerConnect(playerid) { PlayerInfo[playerid][PosX] = 0; PlayerInfo[playerid][PosY] = 0; PlayerInfo[playerid][PosZ] = 0; PlayerInfo[playerid][Angle] = 0; PlayerInfo[playerid][Interior] = 0; PlayerInfo[playerid][VirtualWorld] = 0; INI_ParseFile( user_ini_file( playerid ), "load_user_%s", .bExtra = true, .extra = playerid ); return ( 1 ); } |
D:\samp servas\Naujas aplankas\gamemodes\lvdm.pwn(207) : error 017: undefined symbol "PlayerInfo" D:\samp servas\Naujas aplankas\gamemodes\lvdm.pwn(207) : warning 215: expression has no effect D:\samp servas\Naujas aplankas\gamemodes\lvdm.pwn(207) : error 001: expected token: ";", but found "]" D:\samp servas\Naujas aplankas\gamemodes\lvdm.pwn(207) : error 029: invalid expression, assumed zero D:\samp servas\Naujas aplankas\gamemodes\lvdm.pwn(207) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
PlayerInfo[playerid][PosX] = 0; PlayerInfo[playerid][PosY] = 0; PlayerInfo[playerid][PosZ] = 0; PlayerInfo[playerid][Angle] = 0; PlayerInfo[playerid][Interior] = 0; PlayerInfo[playerid][VirtualWorld] = 0; |