-
Posts
7,337 -
Joined
-
Days Won
11
Everything posted by TAPL
-
ببساطة الخادم هو عبارة عن جهاز كمبيوتر يكون في مركز بيانات مجهز بالتبريد و كهرباء و مولدات كهرباء أضافة إلى اتصال انترنت فايبر سريع جداً هنا صور للخادم وهنا نوع آخر Rack صفوف أنت لما تتأجر الخادم فيه نوعين للخوادم 1- Dedicated Server: هنا يكون عندك تحكم كامل بالخادم و طبعاً الخادم زي ما شفت بالصور فوق 2- Virtual private server (VPS): هنا يتم تقسيم الخادم إلى عده أقسام حيث يتم تقسيم الرامات و الهاردسك عن طريق نظام وهمي و يتم تأجير المساحة على اكثر من شخص Dedicated Server ما يفرق عن الـ VPS و طبعاً التحكم في الـ طريقة التحكم: إذا كنت مركب نظام لينكس فبيكون التحكم بالخادم عن طريق الأوامر أما إذا كنت مركب نظام ويندوز سيرفر فبيكون التحكم زي ما تتحكم بجهازك يعني تقدر تركب تيم فيور و تتحكم بالخادم أما بالنسبة للأستضافة فهي نفسها تكون شغال على خادم بس يكون عندك التحكم فقط في سيرفر ام تي اي عن طريق لوحة الأستضافة
-
هههههههههههههههه الردود عجيبة ترا هو مسوي نافذه و حاط فيها ازرار و يقول الأزرار ما تشتغل يحسب الأزرار تشتغل لحالها اصلاً كل الي تحاول تسويه هو موجود في مود الفري روم حق ام تي اي مستحيل تقدر تسوي افضل منه
-
This resource use MySQL and the server that host the MySQL database is dead, that's why it not work anymore.
-
What we put in the brackets aren't random or come from nowhere. It's called parameters, we know the parameters from the wiki. The event onResourceStart has only one parameter and it not player but the resource that started. Also addEventHandler requires 3 arguments (you can see this from the wiki).
-
markers = { {220.6918182373,1919.1173095703,17.640625}, {190.79113769531,1919.2520751953,17.640625}, --{ x, y, z }, } for i,v in ipairs (markers) do marker = createMarker(v[1], v[2], v[3], "cylinder", get("markerSize"), get("markerColorR"), get("markerColorG"), get("markerColorB"), get("markerAlpha")) blip = createBlip ( v[1] , v[2] , v[3] , get("blipIconID") ) end veh = {} addEvent ("getCar", true) addEventHandler ("getCar", getRootElement(), function(car) if veh[source] and isElement( veh[source] ) then destroyElement( veh[source] ) veh[source] = nil end local carID = getVehicleModelFromName (car) local x,y,z = getElementPosition(source) local carName = getVehicleNameFromModel (carID) veh[source] = createVehicle(carID, x,y,z) setVehicleColor(veh[source], 255, 255, 255) warpPedIntoVehicle(source, veh[source]) outputChatBox ( "* #FF5A5ACreated #ffffff"..carName.." #FF5A5Awas successful!",source,255,90,90,true) end ) addEventHandler ( "onPlayerQuit", getRootElement(), function () if veh[source] and isElement( veh[source] ) then destroyElement( veh[source] ) veh[source] = nil end end) function markerHit (hitPlayer, matchingDimension) if isPedInVehicle (hitPlayer) then return end if getElementType(hitPlayer) == "player" then triggerClientEvent (hitPlayer, "openMean", hitPlayer) end end addEventHandler ("onMarkerHit", resourceRoot, markerHit) function markerLeave (hitPlayer, matchingDimension) if getElementType(hitPlayer) == "player" then triggerClientEvent (hitPlayer, "closeOpenMean", hitPlayer) end end addEventHandler ("onMarkerLeave", resourceRoot, markerLeave)
-
localPlayer is client side only. hitElement is not defined anywhere. player is not defined anywhere. forklifts is a number, not vehicle element. setElementModel requires 2 arguments. getElementModel requires 1 argument. setElementRotation requires 4 arguments. TriggerClientEvent function does not exists. givePlayerMoney requires 2 arguments. onClientGUIClick is client side event only.
-
Nothing wrong here, re-test your script again.
-
play time script.
-
This function is used to change the handling data of all vehicles of a specified model. setModelHandling All vehicle ids can be found here, loop all of them. https://wiki.multitheftauto.com/wiki/Vehicle_IDs
-
Don't increase the play time if the player was in dimension 3. getElementDimension
-
Add your login and register resource to ACL, admin group.
-
https://community.multitheftauto.com/index.php?p=resources&s=details&id=2730
-
https://wiki.multitheftauto.com/wiki/Resources
-
Of course low fps will slow down everything in-game. GTA: SA is old game and you shouldn't complain if your pc is too old.
-
Your image doesn't show the file name, however i doubt it ask to compile the map file, i guess it ask to recompile a lua file included with the map. Check this: https://forum.multitheftauto.com/viewtopic.php?f=91&t=67964
-
What? Maps is in XML, why the hell you want to use lua compile for xml??
-
i can't, game monitor is dead and not updated.
-
setPlayerAnnounceValue getPlayerAnnounceValue
-
That's because you attached the event client side to resourceRoot, which the source of the trigger is a player and player not belong to resourceRoot. You have two ways to fix it, attach the event to root or change the source of the trigger to be resourceRoot.
-
addEventHandler("onResourceStart", resourceRoot, function() for i, player in ipairs(getElementsByType("player")) do setElementData(player, "Mode.murder", false, false) end end) function murderf(player, command, tpName) if tpName then local tp = getPlayerFromName(tpName) if tp and not getElementData(player, "Mode.murder") then setElementData(player, "Mode.murder", true, false) killPed(tp) outputChatBox("You murdered: "..tpName) setTimer(function(player) setElementData(player, "Mode.murder", false, false) end, 40000, 1, player) else outputChatBox("Hold up there mate", player) end end end addCommandHandler("murder", murderf)
