-
Posts
10,056 -
Joined
-
Last visited
-
Days Won
27
Everything posted by iPrestege
-
int, int, int getTeamColor ( team theTeam )
-
You mean get the color of the player team?
-
فاشلة بمنتهى الكلمة حسب علمي انهم ياخذون اكثر من ما تاخذ انت
-
https://github.com/multitheftauto/mtasa-resources/tree/master/[gameplay] حمل اخر اصدار للسكور بورد من هنا وارفعه بدل اللي عندك وتاكد من انك ماتغير اسمة وجرب خلية نفس ماهو
-
You are welcome also i didn't get it that you are using the 'onClientVehicleExit'.Event so i've edited using event source.
- 13 replies
-
- timer
- addeventhandler
-
(and 1 more)
Tagged with:
-
no it's a client side also i've added another code check my post again.
- 13 replies
-
- timer
- addeventhandler
-
(and 1 more)
Tagged with:
-
function stopMySoundV ( plr ) if plr == localPlayer then driver = getVehicleController ( source ) if driver then if sound then stopSound ( sound ) unbindKey ( "Z", "down", stopMySoundB ) removeEventHandler( "onClientVehicleExit", root, stopMySoundV ) if not isTimer ( aMyTimer ) then aMyTimer = setTimer( helicopter, 5000,0) end end end end end Just noticed that you have attached this function to on vehicle exit event ;d . or if that didn't work you can try this : function stopMySoundV ( plr,seat ) if plr == localPlayer and seat == 0 then if sound then stopSound ( sound ) unbindKey ( "Z", "down", stopMySoundB ) removeEventHandler( "onClientVehicleExit", root, stopMySoundV ) if not isTimer ( aMyTimer ) then aMyTimer = setTimer( helicopter, 5000,0) end end end end
- 13 replies
-
- timer
- addeventhandler
-
(and 1 more)
Tagged with:
-
Try this and make sure to not use 'local' when making the sound played. function stopMySoundV ( ) local veh = getPedOccupiedVehicle( getLocalPlayer ( ) ) if veh then local driver = getVehicleController ( veh ) if driver then if sound then stopSound ( sound ) unbindKey ( "Z", "down", stopMySoundB ) removeEventHandler( "onClientVehicleExit", root, stopMySoundV ) if not isTimer ( aMyTimer ) then aMyTimer = setTimer( helicopter, 5000,0) end end end end end Edited just now!
- 13 replies
-
- timer
- addeventhandler
-
(and 1 more)
Tagged with:
-
@Strike27208 You can do some check 'if' to make sure that's the thing you want to get exists and no errors for that. You can try to do this : if veh then driver = getVehicleController( vehicle theVehicle ); if driver then -- stuff's
- 13 replies
-
- timer
- addeventhandler
-
(and 1 more)
Tagged with:
-
شيل local من create يصير create = createMarker ( /// )
-
You can use isTimer to check if the timer exists or no and set the timer again something like this : if not isTimer ( aMyTimer ) then aMyTimer = setTimer( function theFunction, int timeInterval, int timesToExecute, [ var arguments... ] ) end
- 13 replies
-
- 1
-
-
- timer
- addeventhandler
-
(and 1 more)
Tagged with:
-
You mean create new cars? You can use createVehicle
-
تبي فري روم كامل جديد بـ 5$ ? -_-" اساساً شغله طويل وعن نفسي انا مستحيل اسوية بهالمبلغ
-
You are just annoying guy CodyL's . is working in vice city map actually i've played in that myself also he didn't forced anyone to not release vice city map -_-' in fact if anyone wants to release such a map he can but i don't think anyone will do it unless maybe for some $ or he's just done with the map it's really take a time and hard work also no i do think we need vice city map in gta san andreas and for sure that there will be some lag issue and stuff like that makes the fps drops down but as much as anyone will do is trying to fix the fps to make it the best also i'm pretty sure no one is going to release or use a map that drops fps and about the download that it's so large or big anything you call it's not we already in the speed century at least you are going to have 1 MB or even 500 KB is enough to download the map and the files of it and if you say that you have a bad connection as i've got the same problem i'm already getting 5 MB On the speed test but the server wasn't download in a speed as it should i've download from another website which the server owner - creator upload it to so it's not about release it or not it's he's own work and if he didn't want to release it that's his right also some people enjoying the showing topics such this and i'm one of them actually i'm happy to see something different in the multi theft auto all the servers now looks the same and i'm not talking about scripts ..etc i'm talking about 'BIG MAPS' 'Cities' and so on .Also i think no one need you here anymore actually this topic is getting more pages for : O nothing so i'm just saying that he did that work and some people like it maybe you don't but i guarantee that there's some people likes to play something new.
-
Are you here?
-
عليكم السلام أخوي هذي تحصلها في الملف حق الماب في القيم مود حق play broph.map وكذلك بالنسبة لاسم الخلاط minigun
-
https://wiki.multitheftauto.com/wiki/GetPlayerFromSerial
-
تفدر تستخدم وظيفة جلب الاعب من اسمه او سرياله
-
This is not going to work since you are not setting the player team also isGuessAccount you have an extra 's' should be 't' .
-
https://twitter.com/dabdine يبدو انة من اللي سوو ام تي اي او هو اللي مسويها او جايب فكرتها لاحظ البايو Director, Rapid7 Labs / scans.io / Co-creator of MultiTheftAuto / hacker / automator / daddy / internet enthusiast and lastly, data nerd لقيناه اخيراً
-
Thanks i was running MTAServer.exe and after closing that updated fine.
-
No problem .You are welcome.
-
addEventHandler ( 'onClientPlayerDamage',localPlayer, function ( aAttacker ) if ( aAttacker and getElementType ( aAttacker ) == 'player' and aAttacker ~= source ) then local aLocalTeam = getPlayerTeam ( source ) local aAttackerTeam = getPlayerTeam ( aAttacker ) if ( aLocalTeam and aAttackerTeam ) then if ( aLocalTeam == getTeamFromName ( 'TeamOne' ) and aAttackerTeam == getTeamFromName ( 'TeamTwo' ) ) then cancelEvent ( ) end end end end ) Try this and replace 'TeamOne' and 'TeamTwo', With your teams.
-
Do it like this : if getElementType ( YourAttacker ) == 'player' then