- 267
- 54
- Версия SA-MP
-
- 0.3.7-R3
Hi, i am trying to get the actor handle of the player who is shooting at my car
Here is what i tried but it doesn't work and it wouldn't be very efficient either.
Here is what i tried but it doesn't work and it wouldn't be very efficient either.
shooting:
FOR 12@ = 0 to 999
IF
SAMP.IsPlayerConnected(12@)
THEN
IF 13@ = SAMP.GetActorHandleByPlayerID(12@)
THEN
if
051C: has_car_been_damaged_by_char 0@ char 13@
then
15@ = samp.GetPlayerNickname(12@)
chatmsg "%s" -1 15@
end
end
end
end