OnVehicleSpawn
#1

Quick Question,

Is OnVehicleSpawned also being called at
pawn Код:
AddStaticVehicle
Or only at

pawn Код:
CreateVehicle
Reply
#2

you have to use
pawn Код:
CreateVehicle
Reply
#3

I thought it was called when a vehicle, respawns. Let me check.

EDIT:
I think it works with both functions, because it's called when a vehicle respawns, not created.
https://sampwiki.blast.hk/wiki/OnVehicleSpawn

Best regards!

_____________________
EDIT:
@zde5: I don't think so, if a vehicle dies it's called too when it respawns again.
Reply
#4

i think that it is only called when u use SetVehicleToRespawn
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)