John Smith Posted July 20, 2014 Author Posted July 20, 2014 it doesnt draw the image at all If you find my post useful or if it helped you, please like my post Ingame name: ZoeN
Et-win Posted July 20, 2014 Posted July 20, 2014 Are you even sure or the trigger gets send? Put a outputChatBox before it to be sure.. ~Scripts~ Clan War System V1.2.0 ~Maps~ [DM]Et-win - The Run [FUN]Et-win - Drift Rocket [FUN]Et-win - Drift Rocket // [DD]Et-win - Cross 3xC
John Smith Posted July 20, 2014 Author Posted July 20, 2014 its not outputting anything i dont know why edit: probably because something is wrong in Dealman's code If you find my post useful or if it helped you, please like my post Ingame name: ZoeN
Et-win Posted July 20, 2014 Posted July 20, 2014 Well I don't know anything about the code which you are using because I never saw it, so I can't help you now. ~Scripts~ Clan War System V1.2.0 ~Maps~ [DM]Et-win - The Run [FUN]Et-win - Drift Rocket [FUN]Et-win - Drift Rocket // [DD]Et-win - Cross 3xC
Dealman Posted July 20, 2014 Posted July 20, 2014 its not outputting anything i dont know whyedit: probably because something is wrong in Dealman's code Nothing is wrong with it. How are you triggering the event onLevelHundred If I help you in a thread and you need further assistance, please don't PM me - use the thread you created instead. This way everyone on the forum can take advantage of it.
John Smith Posted July 20, 2014 Author Posted July 20, 2014 as i got told by Et-win, im using this triggerClientEvent(killer,"onLevelHundred",killer) If you find my post useful or if it helped you, please like my post Ingame name: ZoeN
Driggero Posted July 20, 2014 Posted July 20, 2014 edit: probably because something is wrong in Dealman's code Oh no you di'int Code is fine though, you're just not triggering the event.
Et-win Posted July 20, 2014 Posted July 20, 2014 Post the function if you want help. Or check if your data is actually 56001-60000 ~Scripts~ Clan War System V1.2.0 ~Maps~ [DM]Et-win - The Run [FUN]Et-win - Drift Rocket [FUN]Et-win - Drift Rocket // [DD]Et-win - Cross 3xC
John Smith Posted July 20, 2014 Author Posted July 20, 2014 data has to be minimum 560001 to trigger the event,and i have 1,5 million and i dont know what u need of code because i posted the code about this triggering thing If you find my post useful or if it helped you, please like my post Ingame name: ZoeN
Et-win Posted July 20, 2014 Posted July 20, 2014 elseif (tonumber(exp) >= 560001 and tonumber(exp) <=600000) then You know that it doesn't work when it's lower than 600000? ~Scripts~ Clan War System V1.2.0 ~Maps~ [DM]Et-win - The Run [FUN]Et-win - Drift Rocket [FUN]Et-win - Drift Rocket // [DD]Et-win - Cross 3xC
John Smith Posted July 20, 2014 Author Posted July 20, 2014 that's not the problem,i've increased the number to 600 million and still doesnt draw the image for me If you find my post useful or if it helped you, please like my post Ingame name: ZoeN
Dealman Posted July 20, 2014 Posted July 20, 2014 We can't help you if you won't post enough relevant code to help you. We're, well at least not I am gonna sit here and play some sort of guessing game. If you're scared it might be 'stolen', go ahead and PM me instead. If I help you in a thread and you need further assistance, please don't PM me - use the thread you created instead. This way everyone on the forum can take advantage of it.
John Smith Posted July 20, 2014 Author Posted July 20, 2014 i have PM-ed you If you find my post useful or if it helped you, please like my post Ingame name: ZoeN
John Smith Posted July 20, 2014 Author Posted July 20, 2014 sry for doublepost but i got 1 problem left when i login it doesnt directly draw my image,only when i kill someone why doesnt this work? function onLogin (_,account) setElementData(source, "LV", getAccountData(account, "LV") or "0") setElementData(source, "EXP", getAccountData(account, "XP") or "0") local dLevel = getAccountData(account, "LV") or 0 if dLevel == "100" then outputChatBox("1",root) triggerClientEvent(source,"onLevelHundred",source) outputChatBox("2",root) end addEventHandler ("onPlayerLogin", root, onLogin) it doesnt output anything and its server side please help If you find my post useful or if it helped you, please like my post Ingame name: ZoeN
Et-win Posted July 20, 2014 Posted July 20, 2014 If it doesn't output anything, then dLevel is not "100", besides, I think you meant: if dLevel == 100 then maybe? EDIT: setElementData(source, "LV", getAccountData(account, "LV") or "0") setElementData(source, "EXP", getAccountData(account, "XP") or "0") local dLevel = getAccountData(account, "LV") or 0 I don't understand why first 2 times "or "0"" and then "or 0" btw. ~Scripts~ Clan War System V1.2.0 ~Maps~ [DM]Et-win - The Run [FUN]Et-win - Drift Rocket [FUN]Et-win - Drift Rocket // [DD]Et-win - Cross 3xC
John Smith Posted July 20, 2014 Author Posted July 20, 2014 oh thank you i thought when checking data that i had to use "value" but seems like " " is useless,anyway thank you Et-win btw im using or 0 to see if its new account and if it is it sets it to 0 If you find my post useful or if it helped you, please like my post Ingame name: ZoeN
Et-win Posted July 20, 2014 Posted July 20, 2014 '123' and "123" are strings. 123 = int = number And it depends on how you save it. You can use the string too but then you have to put 'tonumber(string)' for example. btw im using or 0 to see if its new account and if it is it sets it to 0 Oh right, forgot that one. ^^ ~Scripts~ Clan War System V1.2.0 ~Maps~ [DM]Et-win - The Run [FUN]Et-win - Drift Rocket [FUN]Et-win - Drift Rocket // [DD]Et-win - Cross 3xC
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