08.09.2011, 19:29
you know you have this
and you have file that file is formatted somewhere
like this !
and you probably have something the same
and when you get the player name you don't get the player that your trying to make VIP but you get your id because you have
NOT
so that's why it saves the file into your profile
Код:
INI_SetTag(File,"data");
like this !
pawn Код:
new name[MAX_PLAYER_NAME], file[128];
GetPlayerName(playerid, name, sizeof(name));
format(file,sizeof(file),"Any Directory/%s.txt",name)
and when you get the player name you don't get the player that your trying to make VIP but you get your id because you have
Код:
GetPlayerName(playerid, name, sizeof(name));
Код:
GetPlayerName(targetid, name, sizeof(name));
