طبعا بمساعده اخ زاحف عملت كود
لكن باقي استفسار
local id = 13
local ammo = 133
addCommandHandler ( "create", function ( Player )
if ( id and ammo ~= tonumber ) then return end
if ( getPlayerMoney ( Player ) >= 500 ) then
takePlayerMoney(Player, 500)
giveWeapon ( Player, id, ammo )
outputChatBox ( "** تم صنع و اعطاءك سلأح", Player, 255, 0, 0, true )
end
end )
local id = 55
local ammo = 55555
addCommandHandler ( "create2", function ( Player )
if ( id and ammo ~= tonumber ) then return end
if ( getPlayerMoney ( Player ) >= 500 ) then
takePlayerMoney(Player, 500)
giveWeapon ( Player, id, ammo )
outputChatBox ( "** تم صنع و اعطاءك سلأح", Player, 255, 0, 0, true )
end
end )
انا حطيت نفس كود بسً غيرت أمر وسلاح
وحطيته تحته
يعني صح ؟