Server Scripting Events: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 25: Line 25:
[[onPickupAdd]] ( [[pickup]] )
[[onPickupAdd]] ( [[pickup]] )


[[onMapLoad]] ( mapname, [[xmlroot]] )
[[onMapLoad]] ( mapname, [[xmlnode]] xmlroot )

Revision as of 18:16, 24 March 2006

This is a list of scripting events that currently exist. More will come soon.

onLoad ()

onPlayerChat ( player, message )

onPlayerJoin ( player )

onPlayerPm ( player sourceplayer, player destplayer, message )

onPlayerQuit ( player )

onPlayerSpawn ( player, spawnpoint )

onPlayerWasted ( player )

onEnterVehicle ( player, vehicle, seat, player jackedplayer )

onExitVehicle ( player, vehicle, seat, player jackingplayer )

onVehicleSpawn ( vehicle, vehiclespawnpoint )

onPickupHit ( player, pickup )

onPickupAdd ( pickup )

onMapLoad ( mapname, xmlnode xmlroot )