Michael_Tuner Posted March 10, 2010 Share Posted March 10, 2010 Can anyone give me an example of fxaddsparks? I never understood how would you show dirX , dirY and dixZ, count Link to comment
50p Posted March 10, 2010 Share Posted March 10, 2010 fxAddSparks( 0, 0, 3, 0, 0, 1 ) Creates sparks at 0, 0, 3 which fly in Z direction (1 unit). Why don't you try the values yourself? Link to comment
Michael_Tuner Posted March 10, 2010 Author Share Posted March 10, 2010 setting x, y, z for element position will create the spark there. right? I have one:- funtion = fxAddSpark () onPlayerWasted x,y,z = getplayerposition fxAddSparks ( x, y, z,[float force=4, int count=1 float acrossLineX=0, float acrossLineY=0, float acrossLineZ=1, bool blur=false, float spread=5, float life=3] ) end Link to comment
karlis Posted March 10, 2010 Share Posted March 10, 2010 setting x, y, z for element position will create the spark there. right?I have one:- funtion = fxAddSpark () onPlayerWasted x,y,z = getplayerposition fxAddSparks ( x, y, z,[float force=4, int count=1 float acrossLineX=0, float acrossLineY=0, float acrossLineZ=1, bool blur=false, float spread=5, float life=3] ) end lol its so wrong! first of all use [/code], and heres how it should look like: --ClientSide! addEventHandler("onClientPlayerWasted",getRootElement(),function() x,y,z = getElementPosition(getLocalPlayer()) fxAddSparks ( x, y, z, 4, 1, 0, 0, 1, false, 5, 3 ) end) sory, but according what i saw till scripting the simplest things you need learn much much much more [code=lua]your script Link to comment
Michael_Tuner Posted March 11, 2010 Author Share Posted March 11, 2010 (edited) Can you explain me about this? And will this be visible to the killer? and other too? your script[/code.] Edited March 11, 2010 by Guest Link to comment
robhol Posted March 11, 2010 Share Posted March 11, 2010 setting x, y, z for element position will create the spark there. right?I have one:- funtion = fxAddSpark () onPlayerWasted x,y,z = getplayerposition fxAddSparks ( x, y, z,[float force=4, int count=1 float acrossLineX=0, float acrossLineY=0, float acrossLineZ=1, bool blur=false, float spread=5, float life=3] ) end What is this.. I don't even Listen, you have a very, very long way to go even in completely basic Lua syntax. Get a tutorial and READ it before trying any more. Link to comment
karlis Posted March 11, 2010 Share Posted March 11, 2010 Can you explain me about this? And will this be visible to the killer? and other too? your script[/code.]use it in forum reply tags for proper script showing format Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now