[DONE]* Posted July 11, 2016 Share Posted July 11, 2016 السلام عليكم .. سويت تريقر من السيرفر للكلنت بس ما ضبط ! مدري وش فيه صراحه من فاعد اشتغل على سكربت حذفته و بدأت بواحد جديد ما ضبط .. بس لو عككستها من الكلنت للسيرفر يضبط !! addEventHandler ('onClientResourceStart',root, function () triggerServerEvent ('aaa',localPlayer) end) addEvent ('aaa',true) addEventHandler ('aaa',root, function () outputChatBox ('root') end) Link to comment
#Soking Posted July 11, 2016 Share Posted July 11, 2016 triggerServerEvent (root,'aaa',root) Link to comment
N3xT Posted July 11, 2016 Share Posted July 11, 2016 addEvent ('aaa',true) addEventHandler ('aaa',root, function () outputChatBox ('root',root,255,0,0,true) end) Link to comment
N3xT Posted July 11, 2016 Share Posted July 11, 2016 triggerServerEvent (root,'aaa',root) مافيه روت بكلنت سايد Link to comment
[DONE]* Posted July 11, 2016 Author Share Posted July 11, 2016 شباب فهمتونا غلط ! خخخ addEventHandler ('onResourceStart',root, function () triggerServerEvent (root,'Count',root) end) addEvent ('Count',true) addEventHandler ('Count',root, function () outputChatBox ('root') end) المشكلة من السيرفر للكلاينت مو من الكلنت للسيرفر Link to comment
N3xT Posted July 11, 2016 Share Posted July 11, 2016 addEventHandler ('onResourceStart',root, function () triggerClientEvent (root,'Count',root) end) Link to comment
#Soking Posted July 11, 2016 Share Posted July 11, 2016 addEventHandler ('onResourceStart',root, function () triggerServerEvent (root,'Count',root) end) onResourceStart == Server triggerServerEvent == Client Link to comment
[DONE]* Posted July 11, 2016 Author Share Posted July 11, 2016 نفس الشي ! ترا جربت كل المتغيرات root resourceRoot player etc... Link to comment
N3xT Posted July 12, 2016 Share Posted July 12, 2016 جربت كودي ؟ إذا جربته صور الديبق + تأكد من الميتا Link to comment
' A F . Posted July 12, 2016 Share Posted July 12, 2016 addEventHandler("onResourceStart",resourceRoot, function ( ) setTimer(triggerClientEvent,100,1,root,"Count",root) end ); Link to comment
Ahmed Ly Posted July 12, 2016 Share Posted July 12, 2016 (edited) --Server addEventHandler("onResourceStart",resourceRoot, function () triggerClientEvent("Count", getRootElement()) end ) --Client ennd = function() outputChatBox ("root") end addEvent("Count", true) addEventHandler("Count", getRootElement(), ennd) Edited July 12, 2016 by Guest 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