SA-MP Forums

Go Back   SA-MP Forums > SA-MP Server > Server Support

Thread Tools Display Modes
Old 22/02/2019, 11:22 AM   #1
Little Clucker
Join Date: Nov 2017
Posts: 45
Reputation: 0
Default File Ban.ini shows only ban= not player name

Hello i made something like ban.ini file where will after ban be typed player name i try with int then write 0 when i try writestring then only = . Here is a code
new INI:File = INI_Open(BAN());
PlayerInfo[playerid][IgracIme] = GetPlayerName(playerid,playername,sizeof(playernam e));
Deken is online now   Reply With Quote
Old 22/02/2019, 11:41 AM   #2
Beta Tester
Y_Less's Avatar
Join Date: Jun 2008
Location: 629 -
Posts: 15,711
Reputation: 3226
Default Re: File Ban.ini shows only ban= not player name

An INI file is a key/value store, it doesn't store lists of things. This is the wrong format to use.
Y_Less is online now   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Speedometer shows only for 1 player Stoyanov Scripting Help 6 01/11/2014 11:24 PM
Dialog shows only for one player [WSF]ThA_Devil Help Archive 0 20/07/2011 04:34 PM
Checkpoint Streamer shows only for 1 player Kitten Help Archive 7 14/11/2010 10:39 PM
[HELP]Shows that file is empty whitedragon Help Archive 0 28/04/2010 07:38 AM
[Filesystem] fwrite shows in file something like 0☺? or jś KingArthur Help Archive 10 04/03/2009 10:10 PM

All times are GMT. The time now is 12:01 PM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.