Problem with GangZoneShowForPlayer - 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)
+--- Thread: Problem with GangZoneShowForPlayer (
/showthread.php?tid=377534)
Problem with GangZoneShowForPlayer -
justinnater - 14.09.2012
Hey, i'm trying to make a turf system, but i'm stuck with some issues which i can't fix.
I hope that any of you is able to help me.
This is my current code:
Код:
new TCOLOR[256],nomefile[60];
format(nomefile,sizeof(nomefile),"turfs/Turf1.txt");
TCOLOR = dini_Get(nomefile,"turfcolor");
GangZoneShowForPlayer(playerid, gangzone1, TCOLOR);
I want to make the color to the one that is in the Turf1.txt (turfcolor=)
When compiling i get this error:
Код:
(11466) : error 035: argument type mismatch (argument 3)
Someone knows how to fix this?
Thanks in advance.
Re: Problem with GangZoneShowForPlayer -
arvifilter - 14.09.2012
bro,use dini_Int.
_______________________________
If I helped, and If you want, feel free to Rep+.else just ignore this text
Re: Problem with GangZoneShowForPlayer -
justinnater - 14.09.2012
Already tryd that, but when i go in game i don't see the turf.
Re: Problem with GangZoneShowForPlayer -
justinnater - 15.09.2012
Anyone? :/
Re: Problem with GangZoneShowForPlayer -
trapstar2020 - 15.09.2012
http://gtaforum.hu/index.php?PHPSESS...&page=gangzone
instead of loading and saving and u just add them 2 ur script rept++
Re: Problem with GangZoneShowForPlayer -
justinnater - 15.09.2012
No, what i want is that factions are able to take over turfs, as example: I'm barzini and i do /taketurf than
Код:
dini_Set(nomefile,"turfcolor","Barzini_Color");
I hope you get my point.
Although
Код:
GangZoneShowForPlayer(playerid, gangzone1, dini_Int
Works for me, but that only works for numbers only.
And
Код:
GangZoneShowForPlayer(playerid, gangzone1, dini_Get
Gives me that error :/