Script errors
#5

Quote:
Originally Posted by iAnonymous
Посмотреть сообщение
What are you actually trying to do?
I am trying to add player name to a file
Quote:

stock FacAddMemberToFile(playerid) {
new tmp[MAX_PLAYER_NAME + 2];
if(PlayerInfo[playerid][pFaction] == 1){
if(GetPlayerName(playerid, tmp, MAX_PLAYER_NAME)) {
strcat(tmp, "\r\n"); // new line after the name
return AddTextToFile("factions/LSPD.ini", tmp);}
}
return false;
}

Reply


Messages In This Thread
Script errors - by hhaaoo123 - 07.06.2015, 09:38
Re: Script errors - by JaydenJason - 07.06.2015, 09:41
Re: Script errors - by hhaaoo123 - 07.06.2015, 10:00
Re: Script errors - by iAnonymous - 07.06.2015, 11:02
Re: Script errors - by hhaaoo123 - 07.06.2015, 11:04
Re: Script errors - by Vince - 07.06.2015, 11:05
Re: Script errors - by hhaaoo123 - 07.06.2015, 11:33

Forum Jump:


Users browsing this thread: 1 Guest(s)