News: Welcome back to Bullworth! If you haven't already, you will need to reset your password..
0 Members and 3 Guests are viewing this topic.
But you cant open doors and nothing, When you do that command.............
Hmmm...I...Guess...I...Could...Help...But...I...Don't...Know...How...To...Do...That.........................................................In lua.........................................................lol just joking with you XD
PedSetFactionthats the command u need man.
ImportScript("\\Library\\LibTable.lua") -- imports the LibTable library ImportScript("\\Library\\LibPed.lua") -- imports the LibPed librarylocal 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(50000) -- gives the player 50000 health AreaTransitionXYZ(0,l_1_0,l_1_1,l_1_2) PedSetFaction(13,4,4) SetFactionRespect(gPlayer,4) endMissionCleanup = function() end -- end statementmain = function() -- Main mission function DisablePunishmentSystem(true) repeat Wait(0) until l_0_0 ~= false Wait(3000) MissionSucceed() end