enum pInfo{ pJelszo, pPenz, pAdmin, pNem, pKor, Float:PosX[MAX_PLAYERS], Float:PosY[MAX_PLAYERS], Float:PosZ[MAX_PLAYERS], Float:Angle[MAX_PLAYERS], Interior[MAX_PLAYERS], VirtualWorld[MAX_PLAYERS]}// --- NEW-es cuccok--- //new PlayerInfo[MAX_PLAYERS][pInfo];forward LoadUser_data(playerid,name[],value[]);public LoadUser_data(playerid,name[],value[]){ INI_Int(\"Password\",PlayerInfo[playerid][pJelszo]); INI_Int(\"Penz\",PlayerInfo[playerid][pPenz]); INI_Int(\"Admin\",PlayerInfo[playerid][pAdmin]); INI_Int(\"Nem\",PlayerInfo[playerid][pNem]); INI_Int(\"Kor\",PlayerInfo[playerid][pKor]); INI_Float(\"PositionX\",PosX[playerid]); INI_Float(\"PositionY\",PosY[playerid]); INI_Float(\"PositionZ\",PosZ[playerid]); INI_Float(\"Angle\",Angle[playerid]); INI_Int(\"Interior\",Interior[playerid]); INI_Int(\"VirtualWorld\",VirtualWorld[playerid]); return 1;}
enum pInfo{ pJelszo, pPenz, pAdmin, pNem, pKor, Float:PosX,//Minek ide a MAX_PLAYERS ? Float:PosY,//Minek ide a MAX_PLAYERS ? Float:PosZ,//Minek ide a MAX_PLAYERS ? Float:Angle,//Minek ide a MAX_PLAYERS ? Interior,//Minek ide a MAX_PLAYERS ? VirtualWorld//Minek ide a MAX_PLAYERS ?}// --- NEW-es cuccok--- //new PlayerInfo[MAX_PLAYERS][pInfo];forward LoadUser_data(playerid,name[],value[]);public LoadUser_data(playerid,name[],value[]){ INI_Int(\"Password\",PlayerInfo[playerid][pJelszo]); INI_Int(\"Penz\",PlayerInfo[playerid][pPenz]); INI_Int(\"Admin\",PlayerInfo[playerid][pAdmin]); INI_Int(\"Nem\",PlayerInfo[playerid][pNem]); INI_Int(\"Kor\",PlayerInfo[playerid][pKor]); INI_Float(\"PositionX\",PlayerInfo[playerid][PosX]); INI_Float(\"PositionY\",PlayerInfo[playerid][PosY]); INI_Float(\"PositionZ\",PlayerInfo[playerid][PosZ]); INI_Float(\"Angle\",PlayerInfo[playerid][Angle]); INI_Int(\"Interior\",PlayerInfo[playerid][Interior]); INI_Int(\"VirtualWorld\",PlayerInfo[playerid][VirtualWorld]); return 1;}