SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 12/01/2011, 12:57 AM   #1
blackwave
Gangsta
 
Join Date: Oct 2010
Location: Fortaleza, Brazil
Posts: 967
Reputation: 7
Default Y_INI annoyin' issue

On dini, you can do:
pawn Code:
PlayerInfo[playerid][Cash] = dini_Int(file,"Cash");


But on y_ini, how do I do it?

I tried as correctly:
pawn Code:
INI:playerfile[](name[], value[])
{
   INI_Int("cash",GetPlayerMoney(playerid));
   return 0;
}


Give me error of undefined symbol: playerid. Means there's no "playerid " on the structure. So, how do I add? I really need it..
__________________






My youtube user: Click here
blackwave is offline  
 

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
Y_INI reading help armyoftwo Help Archive 9 03/01/2011 10:50 AM
y_ini problems. Toni Help Archive 4 23/11/2010 02:18 AM
Y_Ini. Zh3r0 Help Archive 1 15/10/2010 09:00 PM


All times are GMT. The time now is 09:02 PM.


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