TheIceman1 Posted February 28, 2013 Share Posted February 28, 2013 Why this dont respawn me to this position? function allsaints ( thePlayer ) if ( isElementWithinColShape ( thePlayer, allsaintsC ) ) then setTimer(setElementPosition, 10000, 1, thePlayer, 1178.51, -1324.44, 14.13 ) end end addEventHandler ( "onPlayerWasted", root, allsaints ) Link to comment
Castillo Posted February 28, 2013 Share Posted February 28, 2013 Remove "thePlayer" from function name, then use "source" in the other two functions. Link to comment
TheIceman1 Posted February 28, 2013 Author Share Posted February 28, 2013 Working,thanks! Link to comment
TheIceman1 Posted February 28, 2013 Author Share Posted February 28, 2013 Why this show me "matrix camera" when im killed only to 1 second,and when i respawn then this show me "fadeCamera"? function allsaints () if ( isElementWithinColShape ( source, allsaintsC ) ) then fadeCamera( source, true ) setCameraMatrix( source, 1468.8785400391, -919.25317382813, 100.153465271, 1527.7, -1685.8, 99.881813049316 ) setTimer(setElementPosition, 10000, 1, source, 1178.51, -1324.44, 14.13 ) setTimer ( fadeCamera, 10000, 1, source, false ) end end addEventHandler ( "onPlayerWasted", root, allsaints ) Link to comment
TheIceman1 Posted February 28, 2013 Author Share Posted February 28, 2013 When i die then it show me "matrixCamera" only for 1 sec,and when i respawn then it showing me "fadeCamera.Understand? Link to comment
Castillo Posted February 28, 2013 Share Posted February 28, 2013 function allsaints ( ) if ( isElementWithinColShape ( source, allsaintsC ) ) then fadeCamera( source, true ) setCameraMatrix ( source, 1468.8785400391, -919.25317382813, 100.153465271, 1527.7, -1685.8, 99.881813049316 ) setTimer ( function ( thePlayer ) setElementPosition ( thePlayer, 1178.51, -1324.44, 14.13 ) setCameraTarget ( thePlayer ) fadeCamera ( thePlayer, true ) end ,10000, 1, source ) end end addEventHandler ( "onPlayerWasted", root, allsaints ) Link to comment
TheIceman1 Posted February 28, 2013 Author Share Posted February 28, 2013 But it shows me the "Matrix Camera" only for 1 sec. Link to comment
Castillo Posted February 28, 2013 Share Posted February 28, 2013 It's only showing it for 1 second? maybe another script is messing around. Link to comment
TheIceman1 Posted February 28, 2013 Author Share Posted February 28, 2013 Yes,when i die then im respawned at jefferson hospital,then for 10 sec im spawned at all saints. Link to comment
TheIceman1 Posted February 28, 2013 Author Share Posted February 28, 2013 But whats name of resource,taht respawn you at jefferson hospital? Link to comment
Castillo Posted February 28, 2013 Share Posted February 28, 2013 I don't know, must be one of your resources currently running. Link to comment
TheIceman1 Posted February 28, 2013 Author Share Posted February 28, 2013 (edited) I didnt use "fadeCamera" anywhere,only in "login panel".The problem occurs when I die then shows me "matrixCamera" on 1 sekundu, then spawn me at Jefferson Hospital, and after 10 seconds it spawn me at allsaints hospital. Edited February 28, 2013 by Guest Link to comment
PaiN^ Posted February 28, 2013 Share Posted February 28, 2013 Didn't you downloaded any resources that aren't yours ? Link to comment
TheIceman1 Posted February 28, 2013 Author Share Posted February 28, 2013 Didn't you downloaded any resources that aren't yours ? Only legal system,and save_system. Link to comment
PaiN^ Posted February 28, 2013 Share Posted February 28, 2013 Turn off the resource, And then kill yourself If you got spawned in the Jefferson Hospital, Then it's another resource .. If not, Then i don't know what it's ..! Link to comment
Castillo Posted February 28, 2013 Share Posted February 28, 2013 Didn't you downloaded any resources that aren't yours ? Only legal system,and save_system. It could be the "save_system". 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