Jump to content

Spawn Point help !


MOOMO

Recommended Posts

Posted

hi guys im looking for spawn point script

like this :

cops spawn outside police officer

grove spawn outside cj home

please make this 1 !

Posted

1: sorry im new here

2: i didnt said all players spawn menu

3: i just need cops and grove spawn

4: your link not useful to me .. thanks for your post

any other help please ?

Posted

Ya, Solid was trying to help,

Sorry, but if you expect us to waste our time and make something that is the least important to us, then your wrong,

everyone has something better to do and sorry if I'm being rude but, learn LUA, or stay a client to MTA.

Posted

i find this 1 :

but i dont know if its works or no

hmm the release said all who dead will respawn outside of argent but i want police spawn outside police officer .

please edit it :>:

addEventHandler("onResourceStart", resourceRoot, 
    function() 
        for i,player in ipairs(getElementsByType("SBAB")) do 
            spawn(player) 
        end 
    end 
) 
  
function spawn(player) 
    repeat until spawnPlayer ( player, 2166.5715332031+math.random(1,5), 1685.8394775391+math.random(5,9), 10.8203125, 90, math.random(9,288) ) 
    fadeCamera(player, true) 
    setCameraTarget(player, player) 
end 
  
addEventHandler("onPlayerJoin", root, 
    function() 
        spawn(source) 
    end 
) 
  
addEventHandler("onPlayerWasted", root, 
    function() 
        setTimer(spawn, 4000, 1, source) 
    end 
) 
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
addEventHandler("onResourceStart", resourceRoot, 
    function() 
        for i,player in ipairs(getElementsByType("MORTAZKA")) do 
            spawn(player) 
        end 
    end 
) 
  
function spawn(player) 
    repeat until spawnPlayer ( player, 2166.5715332031+math.random(1,5), 1685.8394775391+math.random(5,9), 10.8203125, 90, math.random(9,288) ) 
    fadeCamera(player, true) 
    setCameraTarget(player, player) 
end 
  
addEventHandler("onPlayerJoin", root, 
    function() 
        spawn(source) 
    end 
) 
  
addEventHandler("onPlayerWasted", root, 
    function() 
        setTimer(spawn, 4000, 1, source) 
    end 
) 

  • MTA Team
Posted

Actually, this shouldn't go at the resource section. I think the resource section is more of a showroom, to show off resources (for release or not, including WIP resources), not requesting resources.

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