Hello, need some hlep, i don't know what im doing WRONG!
2 hours trying to make it work but i can't
this script its supposed to spam my chat while a player is holding micro smg in him(only while hes holding it)
but i shows nothin , what i did wrong?
2 hours trying to make it work but i can't
this script its supposed to spam my chat while a player is holding micro smg in him(only while hes holding it)
but i shows nothin , what i did wrong?
{$CLEO .cs}
0000: NOP
:LABEL_1
wait 0
if
0B23: samp is_player_connected 1@
jf @LABEL_1
0B20: samp 31@ = actor_handle_by_samp_player_id 1@
if
056D: actor 1@ defined
jf @LABEL_1
if
02D8: actor 1@ current_weapon == 32
jf @LABEL_1
0B2B: samp 2@ = get_player_id_by_actor_handle 31@
3@ = SAMP.GetPlayerNickname(2@)
4@ = SAMP.GetPlayerHealthByActorHandle(31@)
5@ = Samp.GetPlayerArmorByActorHandle(31@)
6@ = Samp.GetPlayerScore(2@)
7@ = SAMP.GetPlayerPing(2@)
chatmsg "%s %d %d $%d %d has microsg, run motherfucker" -1 3@ 4@ 5@ 6@ 7@
jump @LABEL_1