09.09.2013, 13:30
Include Fireworks
Hello People:
sory for my english bad
Today I decided to get a new version include of fireworks .Hello People:
sory for my english bad
Added a few functions include mainly useful functions .
Explanation include :
Код:
native CreateFirework(type, Float: f_X, Float: f_Y, Float: f_Z) native PushFireworkToPoint(fireworkid, Float:fp_x, Float:fp_y, Float:fp_z, Float:Point_x, Float:Point_y, Float:Point_z) native MoveFireworkToPlayer(fireworkid, userid) native AttachFireworkToPlayer(fireworkid, userid) native DestroyFirework(fireid) native DestroyAllFirework()
PHP код:
CreateFirework(type, X, Y, Z);
We needed parameters function : ( 4 )
• type - Type refinery you want it , that you should look for an object that you want it to fly to the sky,
If it does not find an object , then use the number 354 .
• X , Y, Z - These parameters require him to actually record the location of refining parameters of location .
Those who do not know how to keep location so I will explain it now :
Go to the server , then go to the location you want it Refining and do what the command save / .
After you have made the order, so basically we saved location , the parameters within a particular file .
Go to Remote share documents you have on your computer, then click here to took place in GTA San Andreas User
Files >> SAMP .
Then you will see a file name Enter the name savedpositions him, and get off the last line and you'll see something
like this:
Red - Format X
Purple - format Y
Green - Z format
And is arranged location to refine.
PHP код:
PushFireworkToPoint(fireworkid, X, Y, Z, Point_x, Point_y, Point_z);
We needed parameters function : ( 7 )
• fireworkid - it actually refineries have set , I mean you're supposed to develop and create a new variable by Tzicok
you set the variable :
This means that, for example you set up a specific variable mode example :
PHP код:
new x;
x = CreateFirework(...
hang with you now about change, hope you understand ) .
• X , Y, Z - on how to find these parameters we talked about the first function .
These parameters actually flares out from the location , and where it will come this following parameters .
• Point_x, Point_y, Point_z - here basically you put the refinery will come to the location , that is being promoted done
starting point , here we put the final point .
PHP код:
MoveFireworkToPlayer(fireworkid, userid);
We needed parameters function : ( 2 ) .
• fireworkid - it actually refineries have defined , the variable you set , the second function we talked about changing .
• userid - this format we actually record the ID of the player to whom we want to move the refinery ,
You can do more advanced refining transfer by a command if strtok or sscanf .
PHP код:
AttachFireworkToPlayer(fireworkid, userid);
We needed parameters function : ( 2 ) .
• fireworkid - it actually refineries have defined , the variable you set , the second function we talked about changing .
• userid - this format we actually need to register the ID of the player that we want to paste the refinery.
PHP код:
DestroyFirework(fireid);
We needed parameters function : ( 1 ) .
• fireid - it actually refineries have defined , the variable you set , the second function we talked about changing .
PHP код:
DestroyAllFirework();
Function parameters we need : ( 0 ) has no parameters for this function .
Video:
http://www.youtube.com/watch?feature...&v=eMQLTxM842Y
Downloads:
Download the include: here.
wathc for the include: here.
Installation Guide :
You must pass the include Ragheb al -
Remote share your server : Pawno / includes.
Then click here to your modem -
And put at include the include follows:
And that you have the include mode .
Enjoy , and great for a day .
http://www.youtube.com/watch?feature...&v=eMQLTxM842Y
Downloads:
Download the include: here.
wathc for the include: here.
Installation Guide :
You must pass the include Ragheb al -
Remote share your server : Pawno / includes.
Then click here to your modem -
And put at include the include follows:
PHP код:
#include <Y_Fireworks>