CLEO Help How I can

CLEO related
Status
Not open for further replies.

noob213

Active member
Joined
Sep 15, 2017
Messages
88
Reaction score
6
because the client command "build player" does not work try with a shorter command and if it works how can I make the command work with spaces
Code:
{$CLEO}
0000:

repeat
wait 100
until 0AFA:  is_samp_available

Model.Load(#ARMY)
Model.Load(#M4)
038B: load_requested_models

0B34: samp register_client_command "construir jugador" to_label @noname

while true
wait 0
end

:noname
if Model.Available(#ARMY)
004D: jump_if_false @error
Actor.StorePos($PLAYER_ACTOR, 0@, 1@, 2@)
1@ += 4.0
10@ = Actor.Create(4, #ARMY, 0@, 1@, 2@)
01B2: give_actor 10@ weapon 31 ammo 5000 
02E2: set_actor 10@ weapon_accuracy_to 100
0350: set_actor 10@ maintain_position_when_attacked 1
05E2: AS_actor 10@ kill_actor $PLAYER_ACTOR
01B9: set_actor 10@ armed_weapon_to 31
05E2: AS_actor 10@ kill_actor $PLAYER_ACTOR
Model.Destroy(#ARMY)
Model.Destroy(#M4)
0B43: samp cmd_ret





:error
0B43: samp cmd_ret
 
Status
Not open for further replies.
Top