Jump to content

طلب ككووود#


Recommended Posts

addEventHandler("onPlayerChat",root,function(msg) 
if msg == "درع" and getPlayerMoney(source) >= 1000 then 
setPedArmor(source,100) 
takePlayerMoney(source,1000) 
outputChatBox("تم شراء درع",source,255,255,0) 
else 
end 
end) 

  
addEventHandler("onPlayerChat",root,function(msg) 
if msg == "دم" and getPlayerMoney(source) >= 1000 then 
setElementHealth(source,100) 
takePlayerMoney(source,1000) 
outputChatBox("تم شراء دم",source,255,255,0) 
end 
end) 

Edited by Guest
Link to comment

غير مجرب

addEventHandler("onPlayerChat",root, function ( Message ) 
if ( Message == "دم" ) then  
if ( getPlayerMoney ( source ) >= 100 ) then  
takePlayerMoney ( source , 100 ) 
setElementHealth ( source , 100 ) 
outputChatBox(getPlayerName(source).." قام بشراء دم",root,255,255,255,true) 
end 
elseif ( Message == "درع" ) then  
if ( getPlayerMoney ( source ) >= 100 ) then  
takePlayerMoney ( source , 100 ) 
setPedArmor ( source , 100 ) 
outputChatBox(getPlayerName(source).."  قام بشراء درع",root,255,255,255,true) 
end 
end 
end 
) 
  
  
  
  
Edited by Guest
Link to comment

غير مجرب

addEventHandler("onPlayerChat",root, function ( Message ) 
if ( Message == "دم" ) then  
if ( getPlayerMoney ( client ) >= 100 ) then  
takePlayerMoney ( client , 100 ) 
setElementHealth ( client , 100 ) 
outputChatBox(getPlayerName(client).." قام بشراء دم",root,255,255,255,true) 
end 
elseif ( Message == "درع" ) then  
if ( getPlayerMoney ( client ) >= 100 ) then  
takePlayerMoney ( client , 100 ) 
setPedArmor ( client , 100 ) 
outputChatBox(getPlayerName(client).."  قام بشراء درع",root,255,255,255,true) 
end 
end 
end 
) 
  
  

مب هيك الكلام يلي في الشات بيظهر للسيرفر كله لانك واضع

root

Link to comment

غير مجرب

addEventHandler("onPlayerChat",root, function ( Message ) 
if ( Message == "دم" ) then  
if ( getPlayerMoney ( client ) >= 100 ) then  
takePlayerMoney ( client , 100 ) 
setElementHealth ( client , 100 ) 
outputChatBox(getPlayerName(client).." قام بشراء دم",root,255,255,255,true) 
end 
elseif ( Message == "درع" ) then  
if ( getPlayerMoney ( client ) >= 100 ) then  
takePlayerMoney ( client , 100 ) 
setPedArmor ( client , 100 ) 
outputChatBox(getPlayerName(client).."  قام بشراء درع",root,255,255,255,true) 
end 
end 
end 
) 
  
  

^الكلينت غير معرف.

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...