Dynamic Door - 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: Dynamic Door (
/showthread.php?tid=499210)
Dynamic Door -
ChuckyBabe - 07.03.2014
I can't understand this code
Code:
Victim Clothes Store|0|0|0|20068|5|461.626007|-1500.830078|31.047260|101.417785|227.309432|-8.154767|1002.210937|86.747451|0|0|0|0|0|0|0|0|0||0|1
|0|0|0|0|0|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0|0|0|0|0|0|0|0|0||0|0
What i'am trying to make is a dynamic door of my gang
Can someone explain how this code flows ?
i'am willing to give you +rep if you help me.
1 more request
How can i put a moving gate In game ?
i don't have anything script
Re: Dynamic Door -
MP2 - 07.03.2014
That is the result from a mySQL query. Each value is separated by the | delimiter, for example x|y|z. sscanf is likely used to parse this and put each value into a variable that can be used.
Re: Dynamic Door -
ChuckyBabe - 07.03.2014
I can't understand you -_- i mean define each where is x, y, z there ?
Re: Dynamic Door -
CrazyFrenzy - 07.03.2014
Are you using MySQL or this is just an INI file?
Re: Dynamic Door -
ChuckyBabe - 07.03.2014
this is an .cfg file
Re: Dynamic Door -
Dipto - 07.03.2014
A gate system
try this and also try to get some idea from here
Re: Dynamic Door -
ChuckyBabe - 07.03.2014
@Dipto
i would like to make a gate to be open will only in my gang members not all
Re: Dynamic Door -
Dipto - 07.03.2014
So to make that, we have to see what kind of gang system do u have bro. I gave you that Gate system to get some idea from there so u can easily attach the gang system with the gate system.