FAHD+18 Posted July 29, 2016 Share Posted July 29, 2016 ما اعرف ما المشكلة السكربت يعمل بس المشكلة مايخصم فلوس local Pi = createPickup (2498, -1685.3000488281, 13.39999961853, 0, 100,0) addEventHandler('onPickupHit',resourceRoot, function (player ) if ( source == Pi ) then if getElementType( player ) == "player" and not isPedInVehicle( player ) then local Money = getPlayerMoney( source ) if Money >= 2500 then setElementHealth ( player, 100 ) takePlayerMoney (source,2000) if getPlayerMoney (localPlayer) >= 2000 then outputChatBox ( "تم اعطائك دم", player,255,255,255,true ) end end end end end ) Link to comment
xBeSoOo Posted July 29, 2016 Share Posted July 29, 2016 ما اعرف ما المشكلة السكربت يعمل بس المشكلة مايخصم فلوس local Pi = createPickup (2498, -1685.3000488281, 13.39999961853, 0, 100,0) addEventHandler('onPickupHit',resourceRoot, function (player ) if ( source == Pi ) then if getElementType( player ) == "player" and not isPedInVehicle( player ) then local Money = getPlayerMoney( source ) if Money >= 2500 then setElementHealth ( player, 100 ) takePlayerMoney (source,2000) if getPlayerMoney (localPlayer) >= 2000 then outputChatBox ( "تم اعطائك دم", player,255,255,255,true ) end end end end end ) اكيد ما بيشتغل من الهريس الي انت مسويه local Pi = createPickup (2498, -1685.3000488281, 13.39999961853, 0, 100,0) addEventHandler('onPickupHit',resourceRoot, function (player ) if ( source == Pi ) then if getElementType( player ) == "player" and not isPedInVehicle( player ) then local Money = getPlayerMoney( player ) if Money >= 2500 then setElementHealth ( player, 100 ) takePlayerMoney (player,2000) if getPlayerMoney (player) >= 2000 then outputChatBox ( "تم اعطائك دم", player,255,255,255,true ) end end end end end وش تبي تسوي عشان ما فهمت شي من كودك Link to comment
N3xT Posted July 29, 2016 Share Posted July 29, 2016 (edited) local Pi = createPickup (2498, -1685.3000488281, 13.39999961853, 0, 100,0) addEventHandler('onPickupHit',resourceRoot, function ( player ) if ( source == Pi ) then if getElementType( player ) == "player" and not isPedInVehicle( player ) then local money = getPlayerMoney( player ) if money >= 2500 then setElementHealth( player, 100 ) takePlayerMoney( player, 2500 ) outputChatBox ( "تم اعطائك دم", player,255,255,255,true ) else outputChatBox ( "ليس معك نقود كافية", player,255,255,255,true ) end end end end) Edited July 30, 2016 by Guest Link to comment
Abdul KariM Posted July 29, 2016 Share Posted July 29, 2016 local Pi = createPickup (2498, -1685.3000488281, 13.39999961853, 0, 100,0) addEventHandler('onPickupHit',resourceRoot, function ( player ) if ( source == Pi ) then if getElementType( player ) == "player" and not isPedInVehicle( player ) then local money = getPlayerMoney( player ) if money > 2500 then setElementHealth( player, 100 ) takePlayerMoney( player, 2500 ) outputChatBox ( "تم اعطائك دم", player,255,255,255,true ) else outputChatBox ( "ليس معك نقود كافية", player,255,255,255,true ) end end end end) >= Link to comment
N3xT Posted July 30, 2016 Share Posted July 30, 2016 local Pi = createPickup (2498, -1685.3000488281, 13.39999961853, 0, 100,0) addEventHandler('onPickupHit',resourceRoot, function ( player ) if ( source == Pi ) then if getElementType( player ) == "player" and not isPedInVehicle( player ) then local money = getPlayerMoney( player ) if money > 2500 then setElementHealth( player, 100 ) takePlayerMoney( player, 2500 ) outputChatBox ( "تم اعطائك دم", player,255,255,255,true ) else outputChatBox ( "ليس معك نقود كافية", player,255,255,255,true ) end end end end) >= حذفتها بالغلط وأنا أعدل ع المود عموماً شكراً لك ع التنبيه ي بطل Link to comment
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