-
Posts
7,337 -
Joined
-
Days Won
11
Everything posted by TAPL
-
in server side, stunts is not defined.
-
يطير؟ moveObject ممكن تسوي اوبجيكت و تسويه مخفي و تلغي اللمس حقه و تلصقه بالسيارة و ثم تحركة بالفنكشن
-
قصدك تبي تعطي فلوس إلى الي قتل البيدا؟ function giveMoney(_, killer) if killer and getElementType(killer) == "player" then givePlayerMoney(killer, 200) end end addEventHandler("onPedWasted", Ped, giveMoney)
-
وش رايك تحط ملف الماب و الميتا بالموضوع؟ و إلا الأفضل ما نرد على موضوعك؟
-
function createTeamsOnStart() MainTeam = createTeam("The Professionals", 250, 50, 0) end addEventHandler("onResourceStart", resourceRoot, createTeamsOnStart) function setTeam(_, account) local team = getAccountData(account, "team") if (team) then if not getTeamFromName(team) then MainTeam = createTeam(team, 250, 50, 0) end setPlayerTeam(source, MainTeam) end end addEventHandler("onPlayerLogin", root, setTeam) function save() local team = getPlayerTeam(source) local account = getPlayerAccount(source) if (team) and not isGuestAccount(account) then setAccountData(account, "team", getTeamName(team)) remove(source) end end addEventHandler("onPlayerQuit", root, save) function unassignTeam() if getPlayerTeam(source) then setPlayerTeam(source, nil) remove(source) end end addEventHandler("onPlayerLogout", root, unassignTeam) function remove(source) if (getPlayerTeam(source) == MainTeam) then if (countPlayersInTeam(MainTeam) == 0) then destroyElement(MainTeam) end end end
-
Where is the time argument of the function moveObject? Also you should check if the hit element was player using the function getElementType.
-
All the replies you got, and finally you saying that there are no answer?
-
احذف سطر 20؟
-
setAccountData ( getPlayerAccount ( source ), "ownSilenced" ) bool setAccountData ( account theAccount, string key, string value ) You can see what is wrong? This function require 3 argument, but you have only two.
-
bool setAccountData ( account theAccount, string key, string value )
-
عندك مود ثاني و اتوقع يكون مود بلاي يرجع لك الكاميرا عادية
-
انا قد سويت كذا وضبطت بس يوم اطلع وادخل ما تجي سودا,, لانك يمكن سويته سيرفر؟
-
@Mr.Pres[T]ege, creating infinite timer each time a player login? That's probably will crash/lag the server after lots of logins. Well now one time it really destroyed my team but sometimes not. But it doesnt create it again... The script won't do a thing by itself. EDIT: function createTeamsOnStart() MainTeam = createTeam("The Professionals", 250, 50, 0) end addEventHandler("onResourceStart", resourceRoot, createTeamsOnStart) function setTeam(_, account) local team = getAccountData(account, "team") if (team) then if not getTeamFromName(team) then MainTeam = createTeam(team, 250, 50, 0) end setPlayerTeam(source, MainTeam) end end addEventHandler("onPlayerLogin", root, setTeam) function save() local team = getPlayerTeam(source) local account = getPlayerAccount(source) if (team) and not isGuestAccount(account) then setAccountData(account, "team", getTeamName(team)) remove() end end addEventHandler("onPlayerQuit", root, save) function unassignTeam() if getPlayerTeam(source) then setPlayerTeam(source, nil) remove() end end addEventHandler("onPlayerLogout", root, unassignTeam) function remove() if (getPlayerTeam(source) == MainTeam) then if (countPlayersInTeam(MainTeam) == 0) then destroyElement(MainTeam) end end end
-
Exactly, if people run these programs they will have high ping. Maybe if player ping 150 , if run programs will maybe have 180 , 200 not high ping this random numbers Then there's no problem.
-
your welcome (( local v,y = guiGetPosition(guiElement,true) local v = 400 local y = 100 Label = guiCreateLabel(v,y,100,100,"Test",false) function Move() guiSetPosition(Label,v,y,false) y = y +1 v = v -1 end addEventHandler("onClientGUIClick",getRootElement(),Move) ))
-
function playerQuit() local blip = getBlipAttachedTo(source) if blip then destroyElement(blip) end end addEventHandler("onPlayerQuit", root, playerQuit) function getBlipAttachedTo( thePlayer ) local blips = getElementsByType( "blip" ) for k, theBlip in ipairs( blips ) do if getElementAttachedTo( theBlip ) == thePlayer then return theBlip end end return false end
-
Exactly, if people run these programs they will have high ping.
-
ينفع mta يقبل ملف ped.ifp المعدل بس في المسار gta san andreas/anim/ped.ifp وتحط الملف المعدل شرح تركيب الملف في الام تي اي شوف الموضوع كامل من الصفحه الاولى الى الثالثة viewtopic.php?f=105&t=52774 هو يقصد ما تقدر تركب الحركات في السيرفر عن طريق سكربت يعني لكل اللاعبين الي يدخلون السيرفر
-
I don't know C++ but, is there some sort of thing i can do, so it calls another resource, and if the other resource dosn't return, it will stop the stolen resource? lol, i know that is kinda hard to understand. What will stop who steals from editing the code and make it work without the other resource?
-
I am not sure, but i think you maybe need to enable the argument wordBreak.
-
طيب كلم mta team ترجعه وفيه طريقة غير الفنكشن ذا يعني تستبدل ملف ped.ifp بدون الفنكشن الطريقة انكـ ped.ifp المعدل بالمسار GTA.San.Andreas\anim ووافق على الاستبدال واذا تبي تحطه ب mta sa اقرا الموضوع كامل viewtopic.php?f=105&t=52774 من الصفحه الاولى والثانية والثالثة أكلمهم يرجعونه؟ خخخخخخخخخخخ طيب ما هو هم كانو مسوينه بس بعدين الغوه بسبب المشاكل الي فيه !و لما يلقون حل للمشاكل بيرجعونه مدري ليه في عندك استهبال او نوع من الغباء او مدري ايش اسميه
