9
« on: August 16, 2013, 06:06:20 AM »
Okay, I Know There Is Another Topic About Talking To Peds in The ''Questions/Help'' Section, But
It Really Doesn't Help Me At All. I Downloaded The Player Selector and I Replaced The Scripts. Then I Extracted The ArcRace1.lur File. I Then Used that Code Captain Charisma Used and I Added To a Lua Script That I had Created. But It Just won't Compile! I know That Their Is A Error In It. Here It Is Below:
ImportScript("\\Library\\LibTable.lua") -- imports the LibTable library
ImportScript("\\Library\\LibPed.lua") -- imports the LibPed library
local l_0_0 = false
MissionSetup = function() -- basic mission setup function which is used in almost all bully scripts
local l_1_0 = 270 -- X coords
local l_1_1 = -110 -- Y coords
local l_1_2 = 6.4000000953674 -- Z coords
PlayerSetHealth(200) -- gives the player 200 health
AreaTransitionXYZ(0, l_1_0, l_1_1, l_1_2)
IsButtonPressed(10, 0) and IsButtonPressed(8, 0) then
PedSetActionNode(gPlayer, "/Global/Ambient/HarassMoves/HarassShort/Shoves", "Act/Conv/Ambient.act
main = function() -- Function Call
F_MissionSetup() -- Mission Setup Function
gMissionRunning = true
Wait(0) --Waits
end -- End Statement
end
So If Someone Please Help Me On This One, As I would Love To Talk To Other Peds In The Game! Help Would Be Appreciated!