how would I go about doing that? I tried using the wiki and came up with this;
function pedLoad()
ped1 = createPed ( 287, 223, 1875, 18 )
giveWeapon( ped1, 31, 500, true )
setTimer( giveWeapon, 1000, 1, ped1, 2)
end
addEventHandler ( "onResourceStart", getRootElement(), pedLoad )
doesn't work though.