Перейти к содержимому
View in the app

A better way to browse. Learn more.

Zloplay community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Опубликовано:

Possible: make the players spawn in my place?

Featured Replies

Опубликовано:

zxz0O0, do not tell me where to start?

Опубликовано:
zxz0O0, do not tell me where to start?

ok as you wish he won't

 

LOL,

Allright so I dont know where you want to spawn the player but I assume you have a vector3 location called loc

At the event Spawned Player. You use this:

entity.Call("setorigin", loc);

 

I am pretty sure you can also delete and add spawnlocations to the actual spawnsystem. Tell me if you need that and I'll look it up.

Опубликовано:

I did) you can close the topic

Опубликовано:
zxz0O0, do not tell me where to start?

ok as you wish he won't

 

LOL,

Allright so I dont know where you want to spawn the player but I assume you have a vector3 location called loc

At the event Spawned Player. You use this:

entity.Call("setorigin",new Vector3 loc.0f,loc.0f,loc.0f);

???

 

What's the problem?!

Edit: wait a second someone edited my post and failed terribly...

Why would someone even edit that post?!

Опубликовано:
zxz0O0, do not tell me where to start?

ok as you wish he won't

 

LOL,

Allright so I dont know where you want to spawn the player but I assume you have a vector3 location called loc

At the event Spawned Player. You use this:

entity.Call("setorigin",new Vector3 loc.0f,loc.0f,loc.0f);

???

 

What's the problem?!

Edit: wait a second someone edited my post and failed terribly...

Why would someone even edit that post?!

you forgot the suffix f and new vector3 :P

 

actually I didn't.

I said I assumed he already had a vector3 called: loc

so there is no need for "new Vector3", just "loc" will work fine.

Опубликовано:

Whoever edited his post is an actual moron.... the syntax is completely wrong (missing some parenthesis) and why the hell would you use "loc.0f"?

Another thing I would add is that whenever I try to pass Vector3's as a parameter to a Call it doesn't work unless you pass it as a new Parameter object like so

entity.Call("setorigin",new Parameter(new Vector3 (0f, 0f, 0f)));

Quick coding tip, the "f" suffix only applies to constants and not variables.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Гость
Ответить в тему...

Сейчас на странице 0

  • Нет пользователей, просматривающих эту страницу

Важная информация

Используя этот сайт, вы соглашаетесь Условия использования.

Account

Navigation

Поиск

Поиск

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.