Scripting/Server/Events/onTrafficPedCreated

A traffic pedestrian appeared. owner is the player whose game runs it.

Syntax

onTrafficPedCreated(ped, owner)

Arguments

Example

function onTrafficPedCreated( ped, owner )
{
	print( "onTrafficPedCreated fired" );
}

This sample was generated from the signature – adapt the values to your gamemode.

Section: Traffic events

Categories: Server events | Traffic events