Andrixx Posted August 23, 2011 Share Posted August 23, 2011 =========================================Español========================================= Hola, Bueno mi problema esque me aparece el siguiente error al apretar F1 para abrir el panel.... ERROR: Client triggered serverside event okmsg, but event is not added serverside Una imagen para ver mejor A que se debe? =========================================English========================================= Hello, Well my problem esque me the following error when pressing F1 to open the panel .... ERROR: Client triggered serverside event okmsg, but event is not added serverside An image to see better Why is this? Link to comment
GTX Posted August 23, 2011 Share Posted August 23, 2011 Event is not added server-side, add the event: addEvent ( "getstats", true ) function f ( ) -- YOUR CODE end addEventHandler ( "getstats", getRootElement(), f ) Link to comment
Andrixx Posted August 23, 2011 Author Share Posted August 23, 2011 tranks, but I have in "guic.lua" this: function menuShow () visableornot = guiGetVisible (Window) name = getPlayerName ( getLocalPlayer() ) triggerServerEvent ( "getstats", getLocalPlayer() ) if (visableornot == true) then guiSetVisible (Window, false) guiSetVisible (clrsWindow, false) guiSetVisible (createteam_Window, false) guiSetVisible (tmprpts_Window, false) showCursor (false) guiMoveToBack( image2 ) guiMoveToBack( image ) end if (visableornot == false) then guiSetVisible (Window, true) showCursor (true) money = getPlayerMoney ( getLocalPlayer() ) guiSetText ( mny_lbl, '$ ' .. money ) guiSetText ( money2_lbl, '$ ' .. money ) guiSetText ( Window, 'Echo por Andrixx, Bienvenido [ ' .. name .. ' ]' ) end end where anger that you say? Tranks Link to comment
JR10 Posted August 23, 2011 Share Posted August 23, 2011 From where did you get the client? Link to comment
Andrixx Posted August 23, 2011 Author Share Posted August 23, 2011 From where did you get the client? like where do I get? because it is not downloadable Link to comment
JR10 Posted August 23, 2011 Share Posted August 23, 2011 Well, you could have just stole it. Or the server script, is not working, like it should be. Link to comment
Andrixx Posted August 23, 2011 Author Share Posted August 23, 2011 might have created just that Link to comment
JR10 Posted August 23, 2011 Share Posted August 23, 2011 Tell me the lua files this resource have. Link to comment
Andrixx Posted August 23, 2011 Author Share Posted August 23, 2011 help.xml guic.lua roll.lua rollC.lua money.lua kill.lua Banner.png C.png Colors.png cross.png money.png Link to comment
GTX Posted August 23, 2011 Share Posted August 23, 2011 I guarantee these files are client-side only. Link to comment
JR10 Posted August 23, 2011 Share Posted August 23, 2011 That's why I'm waiting for the meta. Link to comment
Andrixx Posted August 23, 2011 Author Share Posted August 23, 2011 <meta> <info author="Andrixx" version="1.0.0" type="script" name="PanelUsuario" description="" showInResourceBrowser="true" /> <config src="help.xml" type="client" /> <script src="guic.lua" type="client" /> <script src="roll.lua" type="client" /> <script src="rollC.lua" type="client" /> <script src="money.lua" type="client" /> <script src="kill.lua" type="client" /> <file src="Banner.png" /> <file src="C.png" /> <file src="Colors.png" /> <file src="cross.png" /> <file src="money.png" /> </meta> Link to comment
JR10 Posted August 23, 2011 Share Posted August 23, 2011 Ok here is a question: Where the hell is any server sided script? Link to comment
Andrixx Posted August 23, 2011 Author Share Posted August 23, 2011 I do not know xDDD Link to comment
JR10 Posted August 23, 2011 Share Posted August 23, 2011 Well, that points out that you didn't make this. Link to comment
Andrixx Posted August 23, 2011 Author Share Posted August 23, 2011 the truth, no, I made a friend but never finished Link to comment
JR10 Posted August 23, 2011 Share Posted August 23, 2011 Well, get that friend to finish it, or give up. Link to comment
Andrixx Posted August 23, 2011 Author Share Posted August 23, 2011 ok, thanks for all 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