Getting a Parametr From Player Account
#1

hi , i want to get a paramter from a user who is offline , i have their names on a file by PclanName[%d][%d] first %d is their clan id and the second %d is their ClanScores (how many score they reach for their clan!)
this is the code (i want to use their scores on string) :

dUserINT(PclanName[listitem][i]).("ClanScores");

its ok for normal names but if their name has some of these charectrs : [ , . , ( ) or ... it will show not show anything and its some how a bug whats the problem !?
Reply
#2

IF YOU USE Y_INI this is how you can get things from a file of user who is offline
Код:
new string[64];
format( string, 64, "The_Folder_Where_Are_The_Users_Saved", playerid);
INI_ParseFile(string, "Load");

forward Load(playerid,name[],value[]);
public Load(playerid,name[],value[])
{
    INI_Int("Thing_You_Want_To_Get_From_Player",Variable_To_Store_It);
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)