dini_get returning nothing... - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: dini_get returning nothing... (
/showthread.php?tid=76652)
dini_get returning nothing... -
Robbin237 - 05.05.2009
I've made this in a timer:
pawn Код:
new House_1_Owner[MAX_STRING];
new House_2_Owner[MAX_STRING];
House_1_Owner = dini_Get("DCHouses/House_1.ini", "Owner");
House_2_Owner = dini_Get("DCHouses/House_2.ini", "Owner");
printf("House 1 Owner: %s", House_1_Owner);
printf("House 2 Owner: %s", House_2_Owner);
EDIT: Solved. Still, is this the right way to do it?
Thnx!
Re: dini_get returning nothing... -
mascii - 05.07.2009
sadly no one helped you. but you help me! thankyou!
i didnt know i had to put [MAX_STRING]
Re: dini_get returning nothing... -
Correlli - 05.07.2009
Quote:
Originally Posted by Robbin237
EDIT: Solved. Still, is this the right way to do it?
|
@fullpro evo: Don't bump old topics.
Re: dini_get returning nothing... -
mascii - 05.07.2009
Quote:
Originally Posted by Don Correlli
Quote:
Originally Posted by Robbin237
EDIT: Solved. Still, is this the right way to do it?
|
@fullpro evo: Don't bump old topics.
|
it's not a bump mate, I was just letting him know he helped me.
And besides the topic isn't even that old...
Re: dini_get returning nothing... -
Correlli - 05.07.2009
Quote:
Originally Posted by fullpro evo
it's not a bump mate, I was just letting him know he helped me.
And besides the topic isn't even that old...
|
Call it what you want, for me it's bump. 2 months is not old for a topic? Great.
Now stop with the off-topic.