Jump to content

Respawn


TheIceman1

Recommended Posts

Posted

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 ) 

Need paid scripter just pm me i will accept every job!

Posted

Remove "thePlayer" from function name, then use "source" in the other two functions.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

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 ) 

Need paid scripter just pm me i will accept every job!

Posted

I don't understand.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

When i die then it show me "matrixCamera" only for 1 sec,and when i respawn then it showing me "fadeCamera.Understand?

Need paid scripter just pm me i will accept every job!

Posted
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 ) 

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

It's only showing it for 1 second? maybe another script is messing around.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

I don't know, must be one of your resources currently running.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted (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 by Guest

Need paid scripter just pm me i will accept every job!

Posted

Didn't you downloaded any resources that aren't yours ?

" Keep Thinking Different . " - Steve Jops

--------------------

Don't send me PMs asking for help, I Won't reply !

Posted

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 ..!

" Keep Thinking Different . " - Steve Jops

--------------------

Don't send me PMs asking for help, I Won't reply !

Posted
Didn't you downloaded any resources that aren't yours ?

Only legal system,and save_system.

It could be the "save_system".

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...