Перейти к содержимому
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.

Featured Replies

Опубликовано:
CG_DrawFps and all it's related dvars were removed in IW5, sorry. I was working on a replacement, but it was detected by aCI :>

I mean that the place where you are standing that is X.Y.Z i want this cuz want to make a private clan map edit i don't where is which place so by taking that Drawing in side i will know to start X.Y.Z and End X.Y.Z it becomes easier. if anyway you can do this then thankyou.

Опубликовано:
viewpos or something along those lines ?

those white colour numbers.

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

help!!!!!!

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

Something like this?

 

iw5m2012100313473135.png

 

           HudElem PlayerPos = HudElem.CreateFontString(player, "hudbig", 0.8f);
           PlayerPos.SetPoint("top left", "top left", 10, 140);
           PlayerPos.HideWhenInMenu = true;

           OnInterval(100, () =>
           {
               string PlayerX = (player.Origin.X.ToString());
               string PlayerY = (player.Origin.Y.ToString());
               string PlayerZ = (player.Origin.Z.ToString());
               PlayerPos.SetText("Position: X: " + PlayerX + " Y: " + PlayerY + " Z: " + PlayerZ);
               return true;      
           });

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

Aww yeah...

 

So this should do it...

            HudElem PlayerPos = HudElem.CreateFontString(player, "hudbig", 0.8f);
           PlayerPos.SetPoint("top left", "top left", 10, 140);
           PlayerPos.HideWhenInMenu = true;

           OnInterval(500, () =>
           {
               float X = (player.Origin.X);
               float Y = (player.Origin.Y);
               float Z = (player.Origin.Z);
               int PlayerX = (int)X;
               int PlayerY = (int)Y;
               int PlayerZ = (int)Z;

               PlayerPos.SetText("Position: X: " + PlayerX + " Y: " + PlayerY + " Z: " + PlayerZ);

               return true;      
           });

 

No more crashes now :D

 

Edit: Hmm it only seems to crash when I join the game for the second time and then it starts screwing up the numbers. Maybe you should't make it a HUD element but just a command or a key press you can use when you want to know your current position... At least thats what I did on my server ;)

 

iw5m2012100314344323.png

Опубликовано:
Aalalex":32mc9yga]Aww yeah...

 

So this should do it...

            HudElem PlayerPos = HudElem.CreateFontString(player, "hudbig", 0.8f);
           PlayerPos.SetPoint("top left", "top left", 10, 140);
           PlayerPos.HideWhenInMenu = true;

           OnInterval(500, () =>
           {
               float X = (player.Origin.X);
               float Y = (player.Origin.Y);
               float Z = (player.Origin.Z);
               int PlayerX = (int)X;
               int PlayerY = (int)Y;
               int PlayerZ = (int)Z;

               PlayerPos.SetText("Position: X: " + PlayerX + " Y: " + PlayerY + " Z: " + PlayerZ);

               return true;      
           });

 

No more crashes now :D

 

Edit: Hmm it only seems to crash when I join the game for the second time and then it starts screwing up the numbers. Maybe you should't make it a HUD element but just a command or a key press you can use when you want to know your current position... At least thats what I did on my server ;)

 

iw5m2012100314344323.png

thank you. after seeing this I got it. its very easy :lol:

Опубликовано:
Aalalex":1rqevo80]Aww yeah...

 

So this should do it...

            HudElem PlayerPos = HudElem.CreateFontString(player, "hudbig", 0.8f);
           PlayerPos.SetPoint("top left", "top left", 10, 140);
           PlayerPos.HideWhenInMenu = true;

           OnInterval(500, () =>
           {
               float X = (player.Origin.X);
               float Y = (player.Origin.Y);
               float Z = (player.Origin.Z);
               int PlayerX = (int)X;
               int PlayerY = (int)Y;
               int PlayerZ = (int)Z;

               PlayerPos.SetText("Position: X: " + PlayerX + " Y: " + PlayerY + " Z: " + PlayerZ);

               return true;      
           });

 

No more crashes now :D

 

Edit: Hmm it only seems to crash when I join the game for the second time and then it starts screwing up the numbers. Maybe you should't make it a HUD element but just a command or a key press you can use when you want to know your current position... At least thats what I did on my server ;)

 

iw5m2012100314344323.png

 

Look at MapEdit.cs in the Quarantine Zombie Mod https://www.assembla.com/code/qczm-iw5/ ... PZM?rev=44

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

after doing it if i found fix of crash i will release it. do you have any problem? or keep it private?

EDIT : it doesn't seem to crash i tested it.

Опубликовано:
Aalalex":2l6vexq2]I dont think this has to be released since this is very easy to make, but yeah

If you release it, please mention me :D

okay.

Опубликовано:
plz just tell me how to use that code :D i am new :) just upload these

If u don't understand the code then this isn't for you.

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

thats funny u told first of all learn c#

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.