Best-Killer Posted November 6, 2016 Share Posted November 6, 2016 addEvent("SAEGGroups:Kills", true) addEventHandler("SAEGGroups:Kills", root,function () killgrid = guiCreateGridList(sWidth* (865/1024 ), sHeight*( 590/768 ), sWidth*( 159/1024 ), sHeight*( 178/768) , false) guiGridListAddColumn(killgrid, "Gang", 0.5) guiGridListAddColumn(killgrid, "Kills", 0.5) guiSetAlpha(killgrid, 0.73) dxDrawRectangle(sWidth*865, sHeight*590, sWidth*159, sHeight*178, tocolor(0, 0, 0, 180), false) guiSetVisible ( killgrid,true ) setTimer ( triggerServerEvent, 15000, 1, "getData", localPlayer ) end ) addEvent("SAEGGroups:KillsHide", true) addEventHandler("SAEGGroups:KillsHide", root,function () guiSetVisible(killgrid,false) end ) local hillAreaLS = createColRectangle ( -164.82, -2912.12, 65.28, 3150, 2300 ) function hill_EnterLS (plr) if (getElementType(plr) == "player") then triggerClientEvent ( plr, "SAEGGroups:Kills", plr ) end addEventHandler ( "onColShapeHit", hillAreaSF, hill_EnterLS ) function hill_LeaveLS (plr) if (getElementType(plr) == "player") then triggerClientEvent ( plr, "SAEGGroups:KillsHide", plr ) end end addEventHandler ( "onColShapeLeave", hillAreaSF, hill_LeaveLS ) gui didn't open !! what is the problem 0 errors Link to comment
Best-Killer Posted November 6, 2016 Author Share Posted November 6, 2016 nothing 0 erros 0 warning Link to comment
1LoL1 Posted November 6, 2016 Share Posted November 6, 2016 add one end in Enter colshape. Link to comment
Best-Killer Posted November 6, 2016 Author Share Posted November 6, 2016 done but same problem and 0 errors Link to comment
1LoL1 Posted November 6, 2016 Share Posted November 6, 2016 (edited) local hillAreaLS = createColRectangle ( -164.82, -2912.12, 65.28, 3150, 2300 ) function hill_EnterLS (plr) if (getElementType(plr) == "player") then triggerClientEvent ( plr, "SAEGGroups:Kills", plr ) end addEventHandler ( "onColShapeHit", hillAreaLS, hill_EnterLS ) function hill_LeaveLS (plr) if (getElementType(plr) == "player") then triggerClientEvent ( plr, "SAEGGroups:KillsHide", plr ) end end addEventHandler ( "onColShapeLeave", hillAreaLS, hill_LeaveLS ) Edited November 6, 2016 by 1LoL1 Link to comment
pa3ck Posted November 6, 2016 Share Posted November 6, 2016 An "end" was missing and you said there were no errors, which is not possible. In case you didn't know, you need to enter "/debugscript 3" as ACL Admin in the chat. 1 Link to comment
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