Помогите добавить активацию в CLEO скрипт

Статус
В этой теме нельзя размещать новые ответы.

Krotchy

Известный
Автор темы
Проверенный
402
382
Помогите добавить активацию в CLEO скрипт

CLEO:
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}

//-------------MAIN---------------
0000: NOP

:NONAME_2
wait 0
if
   Player.Defined($PLAYER_CHAR)
else_jump @NONAME_2
0470: 1@ = actor $PLAYER_ACTOR current_weapon
Actor.GiveWeaponAndAmmo($PLAYER_ACTOR, 1@, 0)
wait 150
jump @NONAME_2
 

untеrmensch

Хуёвый феникс
360
281
CLEO:
{$CLEO .cs}
0000:NOP

repeat
wait 0
until samp.Available()
0B34: samp register_client_command "upammo" to_label @1337

:dermokod
if 
   5@ == true
else_jump @obr
wait 0
0470: 10@ = actor $PLAYER_ACTOR current_weapon
Actor.GiveWeaponAndAmmo($PLAYER_ACTOR, 10@, 2@)
wait 150
5@ = false
jump @obr


:obr
wait 10
jump @dermokod

:1337
wait 0
5@ = true
wait 0
0B35: samp 1@ = get_last_command_params     
0AD4: 1@ = scan_string 1@ format "%d" 2@
wait 0
samp.CmdRet()
/upammo [ кол-во пуль] - прибавит к текущему оружию кол-во пуль которые напишешь
 

BlackKnigga

Известный
BH Team
922
445
Помогите добавить активацию в CLEO скрипт

CLEO:
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}

//-------------MAIN---------------
0000: NOP

:NONAME_2
wait 0
if
   Player.Defined($PLAYER_CHAR)
else_jump @NONAME_2
0470: 1@ = actor $PLAYER_ACTOR current_weapon
Actor.GiveWeaponAndAmmo($PLAYER_ACTOR, 1@, 0)
wait 150
jump @NONAME_2
CLEO:
{$CLEO .cs}

//-------------MAIN---------------
0000: NOP

:NONAME_2
wait 0
if and
   Player.Defined($PLAYER_CHAR)
   0C89: key_just_pressed KEY_CODE
else_jump @NONAME_2
0470: 1@ = actor $PLAYER_ACTOR current_weapon
Actor.GiveWeaponAndAmmo($PLAYER_ACTOR, 1@, 0)
wait 150
jump @NONAME_2
 

ishi

Известный
493
110
простите, в чём смысл сего творения? Давать игроку 0 патронов к текущему оружию?
 
Статус
В этой теме нельзя размещать новые ответы.