-
Posts
7,337 -
Joined
-
Days Won
11
Everything posted by TAPL
-
ينقل الى قسم البرمجة
-
كود طلال ماله داعي ذا كله تقدر تسويه بسطر واحد local TotalPlayer = #getElementsWithinColShape(getElementColShape(marker), "player")
-
You also need to learn it in mtasa wiki. local player isn't always who hit the marker, it could be other player. Also givePlayerMoney in client side doesn't require player argument.
-
You don't need to add or change anything with export, it's already added in exp_system. All you need is to download exp_system (if you haven't yet) and make sure that the resource is running. https://community.multitheftauto.com/index.php?p=resources&s=details&id=1253
-
@Deepu, All of your codes in this topic is incorrect nor near the correct. So simply, don't try help others when you can't.
-
Sane Hosting - DDoS Protected - Cheap and Reliable
TAPL replied to SaneHosting's topic in Hosting solutions
Of course the ticket is opened since 3 days, they said "this will be fixed soon!". It's seems that i can't find stable host, i was with Vortex but they shut down my server and send to me email and said that i increase the slots without pay (even though i didn't). Then i went with BuSign, and wow this host dies every 3 days and so. Tried volt-host, after 10 days their hard disk dead and i find my self without server for two weeks. And now with sane-hosting, 3 days without server . We're really sorry you experienced this. I'd really like to make it up to you by giving you one month free of charge. Please contact me on Skype (eirikutvik). i loved how low the ping become with the new datacenter. No problems anymore. Thanks you. -
Event: "onVehicleStartEnter" getPlayerTeam getTeamFromName cancelEvent
-
-- By Solidsnake14 local playerWeapons = { } addEventHandler ( "onPlayerWasted", root, function ( ) if ( not playerWeapons [ source ] ) then playerWeapons [ source ] = { } end for slot = 0, 12 do local weapon = getPedWeapon ( source, slot ) if ( weapon > 0 ) then local ammo = getPedTotalAmmo ( source, slot ) if ( ammo > 0 ) then playerWeapons [ source ] [ weapon ] = ammo end end end end ) addEventHandler ( "onPlayerSpawn", root, function ( ) if ( playerWeapons [ source ] ) then for weapon, ammo in pairs ( playerWeapons [ source ] ) do giveWeapon ( source, tonumber ( weapon ), tonumber ( ammo ) ) end end playerWeapons [ source ] = nil end )
-
and how iget the Height and Radius? r = Radius h = Height
-
ذا نفس الكود يا بطل @iA7bk#, اعتقد انك بتحتاج تجيب الزفلته الأصلية و تركبها مره ثانية dff بس حق engineRestoreModel لان الفنكشن ذا بس جرب ذا يمكن يضبط addEventHandler("onClientGUIClick", root, function() if (source == A1) then txd = engineLoadTXD("1.txd") engineImportTXD(txd, 4867) elseif (source == A2) then destroyElement(txd) end end) إذا ما ضبط بتحتاج الزفلته الأصلية
-
skins = {73, 75, 76, 285} ------------------------------------------- skins[math.random(#skins)] -- random skin from the table.
-
Change source to localPlayer.
-
createColTube last two arguments should be radius and height not 0.
-
-- Client Side -- Event: "onClientGUIClick" addEventHandler guiGridListGetSelectedItem guiGridListGetItemText getVehicleModelFromName triggerServerEvent -- Server Side -- addEvent addEventHandler getElementPosition createVehicle warpPedIntoVehicle
-
جرب النايت لي https://nightly.multitheftauto.com/mtasa-1.3.4-rc ... 140101.exe ما يحتاج احمله من الموقع التحديث ذا مو جاي بالتحديث التلقائي داخل ام تي اي حق النايت
-
Line 9 CLIENT change true to false.
-
و شغال تمام r6014 انا عندي اصدار
-
^^ من جهازك
-
how do I report an error? https://wiki.multitheftauto.com/wiki/CreateObject Example2 local line theObject = CreateObject (980 + x 2 + y 2, z, 0, 0, 0,) <<< 0,0,0 "," Fixed.
-
Create the object in client side. get the position X, Y (No Z) of local player and set the position X, Y to the object and keep z position of the object at static number 0 or -1 or something like that and use the event onClientRender to keep the object attached under the player.
-
The second argument of the function moveObject is the time that the object will arrive the position.
