PaiN^
Members-
Posts
2,258 -
Joined
-
Last visited
Everything posted by PaiN^
-
I do watch amc's The Walking Dead, And i'm a big fan of it ... Downloaded + Thank you so much bro ..!
-
He is not telling you to make a correct script, He wants you to make mistakes sou you can learn from them .. believe me : That is the only way to learn how to script ...
-
I know that, But it's not working for him for some reason ! So i thought it may work that way ...
-
Poor description + Not usable https://community.multitheftauto.com/index.php?p=resources&s=details&id=6604 DONE
-
Make sure of your Default ACL, Specially general.adminpanel ..
-
+1 But, If it wasn't working with you, Try this : local x, y, z = 1361.099609375, -1658.7998046875, 12.39999961853 fixmark = createMarker ( x, y, z, "cylinder", 3, 0, 255, 0, 255 ) function fixveh ( hitElement) if getElementType(hitElement) == "vehicle" then local thePlayer= getVehicleOccupant(hitElement) local money = getPlayerMoney ( thePlayer ) if (money) >= 5000 then setElementHealth ( hitElement, 1000 ) takePlayerMoney ( thePlayer, 5000 ) end end end addEventHandler ( "onMarkerHit", fixmark, fixveh )
-
Not giving him the full and ready script I'm with that ..! But you should give him some functions that he well need ... functions : createTeam getPlayerName setPlayerTeam --------------------- Event : onPlayerJoin
-
getPlayerFromName gets a player by his name, Not his username .. you should use getPlayerAccount and getAccountName ..
-
أظن في اوبجكتات فيها هذي المشكلة من اللعبة يعني والله أعلمـ
-
إيش يعني رول بلاي ؟؟ !.. ما قد لعبت في سيرفر كان القيم مود حقه اسمه رول بلاي
-
WOW is that true ?
-
تحدد الفلوس إللي مع اللاعب مو الفلوس إللي صرفها getPlayerMoney إذا إنت تبي تحط الفلوس إللي صرفها حطها كنص عادي addEvent("satchel",true) addEventHandler("satchel",root, function () if (getPlayerMoney(source) >= 460000 ) then takePlayerMoney ( source, 460000) giveWeapon ( source, 39, 15 ) outputChatBox("Player ["..getPlayerName(source).."] Has bought ["..getWeaponNameFromID(39).."] money [460000]", root, 255, 0, 0, true) else outputChatBox("* ليس لديك مال كافي !",source, 255, 255, 0, true) end end )
-
WoW Both are great Map + Driver I congratulate you, Nicely done ..
-
لوول ما انتبهت المهم ضبط + العفو يالغالي
-
addEvent("satchel",true) addEventHandler("satchel",root, function () if (getPlayerMoney(source) >= 460000 ) then takePlayerMoney ( source, 460000) giveWeapon ( source, 39, 15 ) outputChatBox("Player "..getPlayerName(source).." Has bought "..getWeaponNameFromID(39).."", root, 255, 0, 0, true) else outputChatBox("* ليس لديك مال كافي !",source, 255, 255, 0, true) end end )
-
حددته بس كمثال ذذ + بما إن عندك شوب فأكيد عندك كلنت !.. وظيفة سيرفر بس giveWeapon والوظيفة عشان كذا لازم يكون عندك تريقر للسيرفر في الكلنت التريقر طبعا حيكون لمن الشخص يضغط على زر شراء وإنت الإفنت حقك حيكون شي زي كذا addEvent( "m4", true ) addEventHandler( "m4", root, function( ) if getPlayerMoney( source ) > 1000 then giveWeapon( source, 31, 200 ) else outputChatBox("You do't have money !", source, 255, 0, 0, true) end ) لكن إذا تبغى إنه يكتب في الشات تضفله إللي عطيتك إياه ويصير كذا addEvent( "m4", true ) addEventHandler( "m4", root, function( ) if getPlayerMoney( source ) > 1000 then giveWeapon( source, 31, 200 ) outputChatBox("Player "..getPlayerName(source).." Has bought "..getWeaponNameFromID(31)..", root, 255, 0, 0, true) else outputChatBox("You do't have money !", source, 255, 0, 0, true) end ) root لا حظ إن يقول إنه إشترى سلاح في الشات للكل, لأني مستخدم root = getRootElement() source أما لو ما معه فلوس فراح تطلع الرسالة له هو بس لأني مستخدم source = مصدر الإفنت إلي هو اللاعب إذا في شي ما فهمته قلي
-
You typed ser instead of set at line 13 ..
-
Could someone please re upload/make the tutorial video ..?
-
I don't think so .. Maybe in another version of MTA ..!
-
I'm sure that there is another part of the script causing this ..
-
تحط في السيرفر outputChatBox("Player "..getPlayerName(source).." Has bought "..getWeaponNameFromID(31)..", root, 255, 0, 0, true) طبعا تحطه مع التريقر حق شراء السلاح
-
Very good idea I really wish it would happen ^^
-
GTA IV is a really great game, But MTA is about GTA SA, People loved it because of that ..! So even if a GTA IV's MTA was released, I don't believe it would have the same impression ...
-
You must have the DirectX program installed in your computer ..
