OnVehicleSpawn

From SA-MP Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 05:04, 2 February 2014
Connor Mead (Talk | contribs)

← Previous diff
Revision as of 19:51, 23 April 2014
Ikkentim (Talk | contribs)
(This is a callback(NoReturn>NoReturnCallback))
Next diff →
Line 6: Line 6:
{{Param|vehicleid|The ID of the vehicle that spawned.}} {{Param|vehicleid|The ID of the vehicle that spawned.}}
-{{NoReturn}}+{{NoReturnCallback}}
<pawn> <pawn>

Revision as of 19:51, 23 April 2014



Description:

This callback is called when a vehicle respawns.


Parameters:
(vehicleid)
vehicleidThe ID of the vehicle that spawned.


Return Values:

This callback does not handle returns.


public OnVehicleSpawn(vehicleid)
{
    printf("Vehicle %i spawned!",vehicleid);
    return 1;
}

Related Callbacks

The following callbacks might be useful as well, as they are related to this callback in one way or another.


Related Functions

The following functions might be useful, as they're related to this callback in one way or another.

In other languages