Jump to content

Create a bank


nk0zkh0z

Recommended Posts

Posted
createPed -- To create the employee 
setElementInterior -- To warp him in the bank 
setElementDimension -- To set his dimension same as the bank 

Which bank are you using? tell us so maybe we can help you.

A unique GangWar gamemode waiting for you!
Click here for more information.

560x95_FFFFFF_FF9900_000000_000000.png

Posted

Like this?

here the number 150 mean?

local bankPed = createPed(150, 2358.710205, 2361.2133789, 2022.919189) 
setPedRotation(bankPed, 90.4609375) 
setElementInterior(bankPed, 2) 

1.png
Posted

I use the command / addinterior 12, and into the interior is like this

but I use the command / getpos

it is the interior id is 3?

-----------------------------

So here, it will be 3 or 12: |

setElementInterior(bankPed, 3, 12) 

ScreenShot_20150303014027.png

1.png
Posted

I'm not entirely sure what you're onto, but, setElementInterior only takes two parameters, the element and the interior.

3 is the id of the interior, its ordered number in the list of added interiors. 12 is the actual interior.

setElementInterior(bankPed, 12) 

Business System viewtopic.php?f=108&t=35797

Notepad++ Syntax Highlighting & Auto Completion viewtopic.php?f=91&t=76726

SQLite Tutorial viewtopic.php?f=148&t=38203

Posted
I'm not entirely sure what you're onto, but, setElementInterior only takes two parameters, the element and the interior.

3 is the id of the interior, its ordered number in the list of added interiors. 12 is the actual interior.

setElementInterior(bankPed, 12) 

thank you so much :D

1.png

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...