OnPedSpawn: Difference between revisions

Jump to navigation Jump to search
37 bytes removed ,  19 November 2022
no edit summary
No edit summary
 
No edit summary
 
Line 1: Line 1:
{{ScriptItem
{{ScriptItem2
|endpoint = shared
|name = onPedSpawn
|side = shared
|type = event
|type = event
|name = onPedSpawn
|games = iii vc sa iv
|usage = a ped spawns
|desc = a ped spawns
|callbackParameters = Event event, Ped ped
|arg1 = Ped ped The ped that has spawned.
|cancellable = false
|note = If the ped is localPlayer, then localPlayer will still be null (it's not set until after this event is triggered for it). You'll need to use a timeout to process things for localPlayer in this event.
|parameter1 = Ped ped The ped that has spawned.
|cancel = false
|notes = If the ped is localPlayer, then localPlayer will still be null (it's not set until after this event is triggered for it). You'll need to use a timeout to process things for localPlayer in this event.
}}
}}
6,834

edits

Navigation menu