OnVehicleSpawn

From SA-MP Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 18:37, 1 October 2013
W (Talk | contribs)

← Previous diff
Revision as of 05:04, 2 February 2014
Connor Mead (Talk | contribs)

Next diff →
Line 25: Line 25:
[[Category:Scripting Callbacks]] [[Category:Scripting Callbacks]]
 +
[[de:OnVehicleSpawn]] [[de:OnVehicleSpawn]]
 +[[fr:OnVehicleSpawn]]
[[ru:OnVehicleSpawn]] [[ru:OnVehicleSpawn]]

Revision as of 05:04, 2 February 2014



Description:

This callback is called when a vehicle respawns.


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


Return Values:

This function does not return any specific values.


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