Dadcdai
Members-
Posts
8 -
Joined
-
Last visited
Dadcdai's Achievements
Newbie (4/54)
2
Reputation
-
Dadcdai started following MTASA wiki - offline copies / online mirrors
-
Marcel Assink started following Dadcdai
-
Hi when i try to open the staff-manager gui it will show me the gui but without any buttons, idk why it showing me that i changed the admin-system resource like 3-4 times and it still shows me the same error,and i dont know how to fix it,here is the error it giving me in the console when i start the admin-system resource: admin/staff_manager/staff_manager_s.lua:3: call: failed to call 'integration:getStaffTitles' [string "?"]
-
wait no cuz if i put that code, my old character location will change to the spawn, like i want when i log out of my character and i join again, my charater would be in the same coordinates when i left it, i only want to change the coordinates when you newly created a character and didnt i found the file?
-
like my account-system has a character creation, like when i login it will pop on a gui if i dont have any character already, and when i am done creating my character it spawns me somewhere in the city, but like if i already have a character created it will spawn me when i was the last time i log out so i want to change the spawn location when i create my character, and i dont know how.... like where i need to put the coordiantes so when i am done creating my character it will spawn me at the coordinate i put?
-
Hey i tryed so hard to change the location when you (create) you'r character,but every time i try to change somthing or it not doing anything or it gives me errors. Can someone tell me how to change the location when you(created) you'r character? Here is the code local locationToSpawn = {} if location then -- if this is not a newly created character spawn, location would be nil /maxime --outputDebugString("this is a newly created character spawn.") locationToSpawn.x = location[1] locationToSpawn.y = location[2] locationToSpawn.z = location[3] locationToSpawn.rot = location[4] locationToSpawn.int = location[5] locationToSpawn.dim = location[6] else --Otherwise, spawn normally for old characters. Fetch location from database. /maxime locationToSpawn.x = tonumber(characterData["x"]) locationToSpawn.y = tonumber(characterData["y"]) locationToSpawn.z = tonumber(characterData["z"]) locationToSpawn.rot = tonumber(characterData["rotation"]) locationToSpawn.int = tonumber(characterData["interior_id"]) locationToSpawn.dim = tonumber(characterData["dimension_id"]) end spawnPlayer(client, locationToSpawn.x ,locationToSpawn.y ,locationToSpawn.z , locationToSpawn.rot, tonumber(characterData["skin"])) setElementDimension(client, locationToSpawn.dim) setElementInterior(client, locationToSpawn.int , locationToSpawn.x, locationToSpawn.y, locationToSpawn.z) setCameraInterior(client, locationToSpawn.int)
-
How? local locationToSpawn = {} if location then -- if this is not a newly created character spawn, location would be nil /maxime --outputDebugString("this is a newly created character spawn.") locationToSpawn.x = location[1] locationToSpawn.y = location[2] locationToSpawn.z = location[3] locationToSpawn.rot = location[4] locationToSpawn.int = location[5] locationToSpawn.dim = location[6] else --Otherwise, spawn normally for old characters. Fetch location from database. /maxime locationToSpawn.x = tonumber(characterData["x"]) locationToSpawn.y = tonumber(characterData["y"]) locationToSpawn.z = tonumber(characterData["z"]) locationToSpawn.rot = tonumber(characterData["rotation"]) locationToSpawn.int = tonumber(characterData["interior_id"]) locationToSpawn.dim = tonumber(characterData["dimension_id"]) end spawnPlayer(client, -203.65929 ,1119.41309 ,19.74219 , 0, tonumber(characterData["skin"])) setElementDimension(client, 0) setElementInterior(client, 0 , 0, 0, 0) setCameraInterior(client, 0) local locationToSpawn = {} if location then -- if this is not a newly created character spawn, location would be nil /maxime --outputDebugString("this is a newly created character spawn.") locationToSpawn.x = location[1] locationToSpawn.y = location[2] locationToSpawn.z = location[3] locationToSpawn.rot = location[4] locationToSpawn.int = location[5] locationToSpawn.dim = location[6] else --Otherwise, spawn normally for old characters. Fetch location from database. /maxime locationToSpawn.x = tonumber(characterData["x"]) locationToSpawn.y = tonumber(characterData["y"]) locationToSpawn.z = tonumber(characterData["z"]) locationToSpawn.rot = tonumber(characterData["rotation"]) locationToSpawn.int = tonumber(characterData["interior_id"]) locationToSpawn.dim = tonumber(characterData["dimension_id"]) end spawnPlayer(client, -203.65929 ,1119.41309 ,19.74219 , 0, tonumber(characterData["skin"])) setElementDimension(client, 0) setElementInterior(client, 0 , 0, 0, 0) setCameraInterior(client, 0) here it is: local locationToSpawn = {} if location then -- if this is not a newly created character spawn, location would be nil /maxime --outputDebugString("this is a newly created character spawn.") locationToSpawn.x = location[1] locationToSpawn.y = location[2] locationToSpawn.z = location[3] locationToSpawn.rot = location[4] locationToSpawn.int = location[5] locationToSpawn.dim = location[6] else --Otherwise, spawn normally for old characters. Fetch location from database. /maxime locationToSpawn.x = tonumber(characterData["x"]) locationToSpawn.y = tonumber(characterData["y"]) locationToSpawn.z = tonumber(characterData["z"]) locationToSpawn.rot = tonumber(characterData["rotation"]) locationToSpawn.int = tonumber(characterData["interior_id"]) locationToSpawn.dim = tonumber(characterData["dimension_id"]) end spawnPlayer(client, -203.65929 ,1119.41309 ,19.74219 , 0, tonumber(characterData["skin"])) setElementDimension(client, 0) setElementInterior(client, 0 , 0, 0, 0) setCameraInterior(client, 0)
-
Hey i tryed so hard to change the spawn location when you (Create) ur character, but whenere i change somthing in it, it wont work or it gives me erros, can someone tell me how to change the location when you (Create) ur character? Here this is the code: local locationToSpawn = {} if location then -- if this is not a newly created character spawn, location would be nil /maxime --outputDebugString("this is a newly created character spawn.") locationToSpawn.x = location[1] locationToSpawn.y = location[2] locationToSpawn.z = location[3] locationToSpawn.rot = location[4] locationToSpawn.int = location[5] locationToSpawn.dim = location[6] else --Otherwise, spawn normally for old characters. Fetch location from database. /maxime locationToSpawn.x = tonumber(characterData["x"]) locationToSpawn.y = tonumber(characterData["y"]) locationToSpawn.z = tonumber(characterData["z"]) locationToSpawn.rot = tonumber(characterData["rotation"]) locationToSpawn.int = tonumber(characterData["interior_id"]) locationToSpawn.dim = tonumber(characterData["dimension_id"]) end spawnPlayer(client, locationToSpawn.x ,locationToSpawn.y ,locationToSpawn.z , locationToSpawn.rot, tonumber(characterData["skin"])) setElementDimension(client, locationToSpawn.dim) setElementInterior(client, locationToSpawn.int , locationToSpawn.x, locationToSpawn.y, locationToSpawn.z) setCameraInterior(client, locationToSpawn.int)