#Paper Posted April 4, 2011 Posted April 4, 2011 It returns a false value T_T function setarchievment () local serial = getPlayerSerial(source) local getSerial = executeSQLSelect("archievment", "serial", "serial='"..serial.."'") if ( type( getSerial ) == "table" and #getSerial == 0 ) or not getSerial then executeSQLInsert ( "archievment", "'"..serial.."', 'Undone', 'Undone', 'Undone', 'Undone', 'Undone', 'Undone', 'Undone', 'Undone'" ) setElementData(source, "hunterman", "Undone") setElementData(source, "rich", "Undone") setElementData(source, "points", "Undone") setElementData(source, "wtf", "Undone") setElementData(source, "skilled1", "Undone") setElementData(source, "skilled2", "Undone") setElementData(source, "skilled3", "Undone") setElementData(source, "unstopplayer", "Undone") outputDebugString("Maked archievment table for"..getPlayerName(source)) else local archievment1 = executeSQLSelect("arch", "hunterman", "serial='"..serial.."'") local archievment2 = executeSQLSelect("arch", "rich", "serial='"..serial.."'") local archievment3 = executeSQLSelect("arch", "points", "serial='"..serial.."'") local archievment4 = executeSQLSelect("arch", "wtf", "serial='"..serial.."'") local archievment5 = executeSQLSelect("arch", "unstopplayer", "serial='"..serial.."'") local archievment6 = executeSQLSelect("arch", "skilled1", "serial='"..serial.."'") local archievment7 = executeSQLSelect("arch", "skilled2", "serial='"..serial.."'") local archievment8 = executeSQLSelect("arch", "skilled3", "serial='"..serial.."'") setElementData(source, "hunterman", tostring(archievment1[1]["hunterman"])) setElementData(source, "rich", tostring(archievment2[1]["rich"])) setElementData(source, "points", tostring(archievment3[1]["points"])) setElementData(source, "wtf", tostring(archievment4[1]["wtf"])) setElementData(source, "skilled1", tostring(archievment5[1]["skilled1"])) setElementData(source, "skilled2", tostring(archievment6[1]["skilled2"])) setElementData(source, "skilled3", tostring(archievment7[1]["skilled3"])) setElementData(source, "unstopplayer", tostring(archievment8[1]["unstopplayer"])) outputDebugString("Loaded archievment table for"..getPlayerName(source)) end end addEventHandler("onPlayerJoin", getRootElement(), setarchievment)
Kenix Posted April 5, 2011 Posted April 5, 2011 It returns a false value T_T function setarchievment () local serial = getPlayerSerial(source) local getSerial = executeSQLSelect("archievment", "serial", "serial='"..serial.."'") if ( type( getSerial ) == "table" and #getSerial == 0 ) or not getSerial then executeSQLInsert ( "archievment", "'"..serial.."', 'Undone', 'Undone', 'Undone', 'Undone', 'Undone', 'Undone', 'Undone', 'Undone'" ) setElementData(source, "hunterman", "Undone") setElementData(source, "rich", "Undone") setElementData(source, "points", "Undone") setElementData(source, "wtf", "Undone") setElementData(source, "skilled1", "Undone") setElementData(source, "skilled2", "Undone") setElementData(source, "skilled3", "Undone") setElementData(source, "unstopplayer", "Undone") outputDebugString("Maked archievment table for"..getPlayerName(source)) else local archievment1 = executeSQLSelect("arch", "hunterman", "serial='"..serial.."'") local archievment2 = executeSQLSelect("arch", "rich", "serial='"..serial.."'") local archievment3 = executeSQLSelect("arch", "points", "serial='"..serial.."'") local archievment4 = executeSQLSelect("arch", "wtf", "serial='"..serial.."'") local archievment5 = executeSQLSelect("arch", "unstopplayer", "serial='"..serial.."'") local archievment6 = executeSQLSelect("arch", "skilled1", "serial='"..serial.."'") local archievment7 = executeSQLSelect("arch", "skilled2", "serial='"..serial.."'") local archievment8 = executeSQLSelect("arch", "skilled3", "serial='"..serial.."'") setElementData(source, "hunterman", tostring(archievment1[1]["hunterman"])) setElementData(source, "rich", tostring(archievment2[1]["rich"])) setElementData(source, "points", tostring(archievment3[1]["points"])) setElementData(source, "wtf", tostring(archievment4[1]["wtf"])) setElementData(source, "skilled1", tostring(archievment5[1]["skilled1"])) setElementData(source, "skilled2", tostring(archievment6[1]["skilled2"])) setElementData(source, "skilled3", tostring(archievment7[1]["skilled3"])) setElementData(source, "unstopplayer", tostring(archievment8[1]["unstopplayer"])) outputDebugString("Loaded archievment table for"..getPlayerName(source)) end end addEventHandler("onPlayerJoin", getRootElement(), setarchievment) may be this: function setarchievment () local serial = getPlayerSerial(source) local getSerial = executeSQLSelect("archievment", "serial", "serial='"..serial.."'") if ( type( getSerial ) == "table" and #getSerial == 0 ) or not getSerial then executeSQLInsert ( "archievment", "'"..serial.."', 'Undone', 'Undone', 'Undone', 'Undone', 'Undone', 'Undone', 'Undone', 'Undone'" ) setElementData(source, "hunterman", "Undone",true) setElementData(source, "rich", "Undone",true) setElementData(source, "points", "Undone",true) setElementData(source, "wtf", "Undone",true) setElementData(source, "skilled1", "Undone",true) setElementData(source, "skilled2", "Undone,true") setElementData(source, "skilled3", "Undone",true) setElementData(source, "unstopplayer", "Undone",true) outputDebugString("Maked archievment table for"..getPlayerName(source)) else local archievment1 = executeSQLSelect("arch", "hunterman", "serial='"..serial.."'") local archievment2 = executeSQLSelect("arch", "rich", "serial='"..serial.."'") local archievment3 = executeSQLSelect("arch", "points", "serial='"..serial.."'") local archievment4 = executeSQLSelect("arch", "wtf", "serial='"..serial.."'") local archievment5 = executeSQLSelect("arch", "unstopplayer", "serial='"..serial.."'") local archievment6 = executeSQLSelect("arch", "skilled1", "serial='"..serial.."'") local archievment7 = executeSQLSelect("arch", "skilled2", "serial='"..serial.."'") local archievment8 = executeSQLSelect("arch", "skilled3", "serial='"..serial.."'") setElementData(source, "hunterman", tostring(archievment1[1]["hunterman"]),true) setElementData(source, "rich", tostring(archievment2[1]["rich"]),true) setElementData(source, "points", tostring(archievment3[1]["points"]),true) setElementData(source, "wtf", tostring(archievment4[1]["wtf"]),true) setElementData(source, "skilled1", tostring(archievment5[1]["skilled1"]),true) setElementData(source, "skilled2", tostring(archievment6[1]["skilled2"]),true) setElementData(source, "skilled3", tostring(archievment7[1]["skilled3"]),true) setElementData(source, "unstopplayer", tostring(archievment8[1]["unstopplayer"]),true) outputDebugString("Loaded archievment table for"..getPlayerName(source)) end end addEventHandler("onPlayerJoin", getRootElement(), setarchievment)
Cadu12 Posted April 9, 2011 Posted April 9, 2011 SuN a.k.a. AcitanoX, you are fu.ck.ed up, you did stealer from SHC We are not going help with stealer Edit: He got my anti-afk Becuase we cant change password in my ftps
Castillo Posted April 10, 2011 Posted April 10, 2011 Cadu12, do you mean, AcitanoX stole resources from your server?
#Paper Posted April 10, 2011 Author Posted April 10, 2011 SuN a.k.a. AcitanoX, you are fu.ck.ed up, you did stealer from SHCWe are not going help with stealer Edit: He got my anti-afk Becuase we cant change password in my ftps Noob, sniper gave me the permission to use it... now i'll modifi it, adding a gui and other things... If someone posted it in the community i can download it... Edit: Noob mother... YOUR ANTIAFK? I DID TAKE IT FROM THE COMMUNITY NOOOOOOOOOOOB! -.-"
Cadu12 Posted April 10, 2011 Posted April 10, 2011 He did not give you anything and he is my friend, now I'll call him and he will post it
#Paper Posted April 10, 2011 Author Posted April 10, 2011 He did not give you anythingand he is my friend, now I'll call him and he will post it He said that he don't care if someone post his system in the community... so i can't download it, whitout asking nobody...
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