You are not logged in.
Вот код:
while true
wait 0
actor.StorePos($PLAYER_ACTOR,0@,1@,2@)
073F: get_actor_in_sphere 0@ 1@ 2@ radius 50.0 with_pedtype_civilian 1 gang 0 criminal/prostitute 1 handle_as 3@
if
actor.Defined(3@)
then
0470: 4@ = actor 3@ current_weapon
if
4@ < 16
then
while true
wait 0
0209: 5@ = random_int_in_ranges 16 39
if and
not 5@ == 19
not 5@ == 20
not 5@ == 21
not 5@ == 17
then
break
end
end
0781: get_weapon_with_ID 5@ model_to 6@
model.Load(6@)
038B: load_requested_models
while true
wait 0
if
model.Available(6@)
then
break
end
end
01B2: give_actor 3@ weapon 5@ ammo 60 // Load the weapon model before using this
end
actor.removereferences(3@)
end
endДаёт всем педам оружие. Рандомное.
Баг: машины начинают перемещаться. Даже не знаю, как описать, кроме видео:
[youtube]http://www.youtube.com/watch?v=Vp-2HCD7IAg[/youtube]
Это что вообще? Почему такое происходит?
Last edited by WinuX (24-06-2010 11:47)
Offline