N3xT Posted April 24, 2015 Posted April 24, 2015 السسلام عليكم # الكل قد شاف المود الموجود ف تابات الريس Rank + Level ( EXP ) فكرته كل ما تلعب يزيد اللفل حقك وكذا + والرانك يطلع من اكثر لفل مثلا انا اكثر لفل يطلع لي رانك 1 الخخ م عرفت بالظبط وش أستخدم ي ليت تساعدوني
</Mr.Tn6eL> Posted April 25, 2015 Posted April 25, 2015 https://wiki.multitheftauto.com/wiki/Resource:Race اقرا الصفحة واستخدم onPlayerFinish onPlayerRaceWasted setElementData getElementData getPlayerAccount setAccountData getAccountData skype : 011101000110111000110110011001010110110000110000001110010011000000111001
N3xT Posted April 25, 2015 Author Posted April 25, 2015 https://wiki.multitheftauto.com/wiki/Resource:Raceاقرا الصفحة واستخدم onPlayerFinish onPlayerRaceWasted setElementData getElementData getPlayerAccount setAccountData getAccountData م فهمت ولا حرف
><? Posted April 25, 2015 Posted April 25, 2015 هو اعطاك الفنكشنات والايفنت الي لازم تستخدمهم انته سوي المود وحاول فيه اذا ما زبط حطه هنا والشباب يساعدوك انته ادخل الفنكشنات من الويكي وشوف الامثله عليا وحاول .. تقبل مروري
shwaeki Posted April 25, 2015 Posted April 25, 2015 شوف هاد الموضوع يفيدك viewtopic.php?f=160&t=75149&p=692475&hilit=onPlayerRaceWasted#p692475
</Mr.Tn6eL> Posted April 25, 2015 Posted April 25, 2015 addEventHandler( "onPlayerRaceWasted", root, function( ) if ( source and source ~= nil ) then if ( exports [ "race" ]:getPlayerRank ( source ) == 1 ) then givePlayerMoney ( source, 300 ) outputChatBox( "* "..getPlayerName( source ).." has got 300" , root, 255, 255 ,0, true ) elseif ( exports [ "race" ]:getPlayerRank ( source ) == 2 ) then givePlayerMoney ( source, 200 ) outputChatBox( "* "..getPlayerName( source ).." has got 200" , root, 255, 255 ,0, true ) elseif ( exports [ "race" ]:getPlayerRank ( source ) == 3 ) then givePlayerMoney ( source, 50 ) outputChatBox( "* "..getPlayerName( source ).." has got 50" , root, 255, 255 ,0, true ) end end end ) skype : 011101000110111000110110011001010110110000110000001110010011000000111001
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now