viktorX Posted March 18, 2017 Share Posted March 18, 2017 Hello guys , when someone die or kill and he press on respawn he moving to another city can anyone tell me where i can change it i need the location of file Link to comment
Investor Posted March 18, 2017 Share Posted March 18, 2017 It all depends on the gamemode you're running... Link to comment
viktorX Posted March 18, 2017 Author Share Posted March 18, 2017 what u mean dude? i need the name of file Link to comment
viktorX Posted March 18, 2017 Author Share Posted March 18, 2017 no i using Role play Link to comment
NeXuS™ Posted March 18, 2017 Share Posted March 18, 2017 And which roleplay mode? Can you do a screenshot of your resources? Link to comment
viktorX Posted March 18, 2017 Author Share Posted March 18, 2017 photos for my resources Link to comment
NeXuS™ Posted March 18, 2017 Share Posted March 18, 2017 (edited) Spoiler I think that mod's spawnpoint has to be changed in it's SQL table. (phpMyAdmin) Ignore that, it's not in the SQL table. if (transport==1) then x, y, z = 1742.1884765625, -1861.3564453125, 13.577615737915 r = 0.98605346679688 lastarea = "Unity Bus Station" else x, y, z = 1685.583984375, -2329.4443359375, 13.546875 r = 0.79379272460938 lastarea = "Los Santos International" end Search for something like this in your account-system under s_account_system.lua. Edited March 18, 2017 by NeXuS™ Link to comment
viktorX Posted March 18, 2017 Author Share Posted March 18, 2017 but i changed the teleports from the files not from sql Link to comment
NeXuS™ Posted March 18, 2017 Share Posted March 18, 2017 If you are searching for respawning in the hospital, then lses-system, under s_lves_system.lua, and line nr. 147 spawnPlayer(thePlayer, x, y, z, 134, theSkin, 0, 0, theTeam) Change x, y and z to the position you want. Link to comment
viktorX Posted March 18, 2017 Author Share Posted March 18, 2017 bro i can't understand what u mean Link to comment
NeXuS™ Posted March 18, 2017 Share Posted March 18, 2017 Do you have a resource called lses-system? Link to comment
NeXuS™ Posted March 18, 2017 Share Posted March 18, 2017 You'll have to search the script which handles the respawning. Link to comment
itHyperoX Posted March 18, 2017 Share Posted March 18, 2017 (edited) search the account system, then ctrl + f and search spawnPlayer That why you need your own resources Edited March 18, 2017 by TheMOG Link to comment
viktorX Posted March 18, 2017 Author Share Posted March 18, 2017 i searched file by file and i can't found text spawnPlayer 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