function hafiz()
local money = math.random (5000,15000)
for k,v in ipairs(getElementsByType('player'))do
local name=getPlayerName(v)
if string.find(string.upper(tostring(name)),'P.P') then
givePlayerMoney( v, money )
outputChatBox(">>> #00ff00 $"..money.." Money has been sent to players only but logo" ,v,255,0,0,true)
else
outputChatBox("لم يتم توزيع النقود عليك لعدم وضعك الشعار" ,v,255,0,0,true)
end
end
end
setTimer(hafiz,150000,0)
اتوقع كذا طلبك