help with fix my script

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

rayuga

Новичок
Автор темы
21
7
{$CLEO .cs}


///////////////MAIN//////////////
0000:NOP
thread 'tgun'
if
0@ = SAMP.Base()
jf @TGUN_28
0A93: end_custom_thread

:TGUN_28
wait 250
SAMP.Available
jf @TGUN_28
chatmsg "Test Gun Loaded!"
0B34: samp register_client_command "tgun" to_label @TGUN_184

:TGUN_173
wait 0
goto @TGUN_173

:TGUN_184
Model.Load(362)
0B34: load_requested_models
Actor.GiveWeaponAndAmmo($PLAYER_ACTOR, Minigun, 9999)
wait 100
Model.Destroy(362)

im getting paramater errors. how can fix it?
 

mkrn

Известный
67
61
CLEO:
0B34: samp register_client_command "tgun" to_label @TGUN_184

while true
repeat
wait 0
until 30@ == 1
Model.Load(362)
038B: load_requested_models
Actor.GiveWeaponAndAmmo($PLAYER_ACTOR, Minigun, 9999)
wait 100
Model.Destroy(362)
30@ = 0
end

:TGUN_184
30@ = 1
Samp.CmdRet()

Use this code. Wait not working in commands
 
Статус
В этой теме нельзя размещать новые ответы.