AliAlanzi Posted February 27, 2017 Author Share Posted February 27, 2017 يقول triggered serverside event SetSongBASE1, but event is not added serverside Link to comment
Master_MTA Posted February 27, 2017 Share Posted February 27, 2017 1 hour ago, Ghost-Gamer said: يقول triggered serverside event SetSongBASE1, but event is not added serverside SetSongBASE1 هذا الايفينت مب موجود بالسيرفر سايد Link to comment
Abu-Solo Posted February 27, 2017 Share Posted February 27, 2017 اذا الايفنت موجود بالفعل ويقولك الخطأ هذا أعرف ان فيه مشكلة فـ ملف السيرفر يعني فيه خطأ فـ الاكواد او شئ Link to comment
AliAlanzi Posted February 27, 2017 Author Share Posted February 27, 2017 ؟؟؟؟؟؟؟كيف مو موجودظ function PlayRadio() SongFileB = guiGridListGetItemData(songGridList, guiGridListGetSelectedItem (songGridList), 1) local scheck = guiGridListGetItemText(songGridList, guiGridListGetSelectedItem ( songGridList ), 1) outputChatBox(scheck,255, 255, 0, true ) if scheck then local stationName = guiGridListGetItemText (songGridList, scheck, songColumn) if stationName then triggerServerEvent("SetSongBASE1", localPlayer, SongFileB) else outputChatBox("unknown error") end end end ----------------------- function StopRadio() if isElement(soundBASE1) then stopSound(soundBASE1) end triggerServerEvent("SetSongBASE1", localPlayer, false) end Link to comment
iMr.WiFi..! Posted February 27, 2017 Share Posted February 27, 2017 @DmAr511 أهنيك عالتخبيص المشكلة واضحه تستعمل ال triggerServer واحط الايفينت في الكلنت يعني انت مسوي ارسال الحدث في الكلنت ومستقبله في الكلنت متجي كذا ي حبيبي انا ماقدر اصلح اكوادك مابي اكسب ذنوب بس وضحتلكم المشكلة الباقي عليكم Link to comment
Jw8. Posted February 27, 2017 Share Posted February 27, 2017 3 minutes ago, iMr.WiFi..! said: @DmAr511 أهنيك عالتخبيص المشكلة واضحه تستعمل ال triggerServer واحط الايفينت في الكلنت يعني انت مسوي ارسال الحدث في الكلنت ومستقبله في الكلنت متجي كذا ي حبيبي انا ماقدر اصلح اكوادك مابي اكسب ذنوب بس وضحتلكم المشكلة الباقي عليكم يخوي خله يستخدم --serverside addEvent("SetSongBase", true) addEventHandler("SetSongBase", root, function(link) triggerClientEvent(root, "StartSongBase", root, link) end) احسن !! Link to comment
AliAlanzi Posted February 27, 2017 Author Share Posted February 27, 2017 (edited) 4 hours ago, Ghost-Gamer said: function PlayRadio() SongFileB = guiGridListGetItemData(songGridList, guiGridListGetSelectedItem (songGridList), 1) local scheck = guiGridListGetItemText(songGridList, guiGridListGetSelectedItem ( songGridList ), 1) outputChatBox(scheck,255, 255, 0, true ) if scheck then local stationName = guiGridListGetItemText (songGridList, scheck, songColumn) if stationName then triggerServerEvent("SetSongBASE1", localPlayer, SongFileB) else outputChatBox("unknown error") end end end ----------------------- function StopRadio() if isElement(soundBASE1) then stopSound(soundBASE1) end triggerServerEvent("SetSongBASE1", localPlayer, false) end اشيل ذي الاكواد و اخلي 4 hours ago, DmAr511 said: --serverside addEvent("SetSongBase", true) addEventHandler("SetSongBase", root, function(link) triggerClientEvent(root, "StartSongBase", root, link) end) اخلي ذي بدالها Edited February 27, 2017 by Ghost-Gamer 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