Jump to content

KainDepZai

Members
  • Posts

    33
  • Joined

  • Last visited

Everything posted by KainDepZai

  1. i just extract the file and set it backup.zip
  2. but isn't save into database, is still 55.0kb
  3. STILL NOT HIDE THE TENT AND SAVE IT ) THE databese still 55.0kb and i check by SQLite it save not tent
  4. i can't save it the database just DROP the table vehicle and tent
  5. i can't save ) it's always DROP the dbtable can't INSEART it
  6. function home() guiStaticImageLoadImage(home, "images/Guner.png") end function mulher() guiStaticImageLoadImage(mulher, "images/Knifer.png") end this funtion ?? still not working
  7. http://i.imgur.com/f1ILziK.png it said this
  8. function sexo() showCursor(true) wal = guiCreateStaticImage(0, 0, 1, 1, "images/wal.jpg", true) fundo = guiCreateStaticImage(0.15, 0.28, 0.72, 0.63, "images/fundo.png", true, wal) home = guiCreateStaticImage(0.2, 0.28, 0.2, 0.6, "images/Gunner.png", true,fundo) mulher = guiCreateStaticImage(0.6, 0.28, 0.2, 0.6, "images/Knifer.png", true,fundo) addEventHandler("onClientGUIClick", home, playersexo) addEventHandler("onClientGUIClick", mulher, playersexo) addEventHandler("onClientMouseEnter", home, false) addEventHandler("onClientMouseLeave", home, false) addEventHandler("onClientMouseEnter", mulher, false) addEventHandler("onClientMouseLeave", mulher, false) end function playersexo(source,theTeam,player) showCursor(false) destroyElement(wal) destroyElement(fundo) destroyElement(mulher) destroyElement(home) if(source ~= mulher) then local spawnTeam = createTeam ("Assasin") outputChatBox ("Chào mừng bạn đã đến với thành phố hỗn tạp này!! GOOD LUCK...", source, 255, 0, 0, false) outputChatBox ("Bạn đã có skill của 1 sát thủ!! Hãy ấn F7 để xem hỗ trợ", source, 255, 0, 0, false) spawnPlayer (source, 0, 0, 5, 0, math.random 28, 0, 0, spawnTeam) fadeCamera (source, true) setCameraTarget (source, source) giveWeapon(player, 8, 1) giveWeapon(player, 1, 1) end elseif(source ~= homem) then local spawnTeam = createTeam ("Gunner") outputChatBox ("Chào mừng bạn đã đến với thành phố hỗn tạp này!! GOOD LUCK...", source, 255, 0, 0, false) outputChatBox ("Bạn đã có skill của 1 Gunner!! Hãy ấn F7 để xem hỗ trợ", source, 255, 0, 0, false) spawnPlayer (source, 0, 0, 5, 0, math.random (0,288), 0, 0, spawnTeam) fadeCamera (source, true) setCameraTarget (source, source) giveWeapon(player, 8, 1) giveWeapon(player, 1, 1) end function home2() guiStaticImageLoadImage(home, "images/Guner.png")end function mulher2() guiStaticImageLoadImage(mulher, "images/Knifer.png")end
  9. Thanks NearGreen but it not the code i need ) it still not respawn player in team Assasin
  10. Thanks @دؤن , @Solid Snake , @Dimos7 and @WhoAmI for helping me
  11. i will check it at 10AM i have to sleep
  12. can you show why server doesn't take player money ??
  13. can you show me problem with line 6 ??
  14. Client side like this : addEventHandler("onClientResourceStart", root, respawn) or triggles server ???
  15. then i have to change to Client Side ??
  16. local team = getPlayerTeam ( source ) local heath = getElementHealth (getLocalPlayer ()) function respawn () if ( team ) then local teamName = getTeamName ( team ) if (teamName == "Assasin") and heath =<0 then spawnPlayer (spawnPlayer, source, 0, 0, 5, 0, math.random (0,288), 0, 0, spawnTeam) outputChatBox("Bạn đã được respawn", source, 255,0,0) giveWeapon(8,1) giveWeapon(1,1) elseif ( teamName == "Gunner" ) then spawnPlayer (spawnPlayer, source, 0, 0, 5, 0, math.random (0,288), 0, 0, spawnTeam) outputChatBox("Bạn đã được respawn", source, 255,0,0) end end end addEventHandler("onClientResourceStart", root, respawn)
×
×
  • Create New...