Jump to content

zONEz

Members
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

1 Neutral

About zONEz

  • Rank
    Vic
  1. SOLVED!!! THX SO MUCH MAN @SpecT
  2. Player is still spawning on LS hospital. function respawnDeadPlayer() setPedAnimation(source, CRACK, crckdeth1, 9000, true) outputChatBox("Yaralandin!!!",source,255,0,0) fadeCamera(source, false, 7) setTimer(respawnPlayerAfterDied, 10000, 1,source) end addEventHandler("onPlayerWasted", root, respawnDeadPlayer) function respawnPlayerAfterDied(p) local x,y,z = getElementPosition(p) -- changed from "thePlayer" to "p" spawnPlayer(p, x, y, z) -- corrected the arguments fadeCamera(p, true, 5) outputChatBox("Tedavi oldun, ha
  3. @SpecTThank you so much local vehiclesToSpawn = { } local spawnpoints = { {-11.054133415222,2329.2023925781,24.303375244141,90}, {-18.531280517578,2323.3835449219,24.303373336792,270}, {-27.869777679443,2321.8896484375,24.303373336792,0}, {-10.329539299011,2336.9331054688,24.303375244141,128}, } local vehicleDestroyTimers = {} local validSkins = {60} local playerVehicles = {} local function spawn(player) if player and isElement(player) then local x,y,z,r = unpack(spawnpoints[math.random(1,#spawnpoints)]) spawnPlayer(player,x+math.random(-3,3),y+math.random(-3,3),z,r,validS
  4. function respawnDeadPlayer() setPedAnimation(source, CRACK, crckdeth1, 9000, true) outputChatBox("Yaralandin!!!",source,255,0,0) fadeCamera(source, false, 7) setTimer(respawnPlayerAfterDied, 10000, 1,source) end addEventHandler("onPlayerWasted", root, respawnDeadPlayer) function respawnPlayerAfterDied(p) local x,y,z = getElementPosition(thePlayer) spawnPlayer(posX="x" posY="y" posZ="z") fadeCamera(p, true, 5) outputChatBox("Tedavi oldun, hadi yine iyisin.",p,255,0,0) end I've took this code from the one of the topic
×
×
  • Create New...