function makePed()
ped1 = createPed ( 140, 4927.2998046875,-1973.4000244141, 2 )
ped2 = createPed ( 140, 4913.7998046875,-1912.0999755859, 1.7999999523163 )
if source == ped1 then
local ped1 = getElementPosition(ped1)
setElementVelocity ( ped1, 4909.7998046875,-1965.5,1.7999999523163)
setPedWalkingStyle ( ped1,MOVE_SEXYWOMAN)
end
if source == ped2 then
local ped2 = getElementPosition(ped2)
setElementVelocity ( ped2, 4909.8999023438,-1945.8000488281,1.7999999523163)
setPedWalkingStyle ( ped2,MOVE_SEXYWOMAN)
end
end
end
addEventHandler( "onClientResourceStart", getResourceRootElement(getThisResource()), makePed )
Replies to Re: Re: Untitled
{"text":"text","html5":"html","css":"css","javascript":"javascript","php":"php","python":"python","ruby":"ruby","lua":"lua","bash":"sh","erlang":"erlang","go":"golang","c":"c_cpp","cpp":"c_cpp","diff":"diff","latex":"latex","sql":"sql","xml":"xml","0":"text","abap":"abap","actionscript":"actionscript","actionscript3":"actionscript","ada":"ada","apache":"apache_conf","applescript":"applescript","asm":"assembly_x86","autohotkey":"autohotkey","closure":"closure","cobol":"cobol","coffeescript":"coffee","cpp-winapi":"c_cpp","c_loadrunner":"c_cpp","c_mac":"c_cpp","c_winapi":"c_cpp","csharp":"csharp","d":"d","dart":"dart","dot":"dot","eiffel":"eiffel","fortran":"fortran","groovy":"groovy","haskell":"haskell","haxe":"haxe","ini":"ini","io":"io","java":"java","java5":"java","make":"makefile","matlab":"matlab","mysql":"mysql","objc":"objectivec","ocaml":"ocaml","pascal":"pascal","perl":"perl","perl6":"perl","postgresql":"pgsql","powershell":"powershell","prolog":"prolog","properties":"properties","rails":"ruby","rust":"rust","scala":"scala","scheme":"scheme","smarty":"smarty","tcl":"tcl","vala":"vala","vb":"vbscript","verilog":"verilog","vhdl":"vhdl","yaml":"yaml"}