Перейти к содержимому
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.
Опубликовано:

namespace InfinityScript.Examples
{
   using InfinityScript;
   using System;

   public class namesv1 : BaseScript
   {
       public namesv1()
       {
           base.Call("setDvar", new Parameter[] { "g_teamname_allies", "^1-^0[^4TG^0]^1-^2Clan" });
           base.Call("setDvar", new Parameter[] { "g_teamname_axis", "^2Visitantes" });
           base.PlayerConnected += delegate (Entity entity) {
               entity.SetClientDvar("g_teamname_allies", "^1-^0[^4TG^0]^1-^2Clan");
               entity.SetClientDvar("g_teamname_axis", "^2Visitantes");
           };
       }
   }
}

 

By Tonejo

Featured Replies

Опубликовано:
  • Автор
GrossKopf":175sk4jj]Nice. This would come in handy for Infected mode. Will the dll be released? I don't know how to compile this stuff.

the script is very easy to use add me to xfire and talk

tonejo27cr

Опубликовано:
-Tonejo[A]":n657nsnz]
GrossKopf":n657nsnz]Nice. This would come in handy for Infected mode. Will the dll be released? I don't know how to compile this stuff.

the script is very easy to use add me to xfire and talk

tonejo27cr

I already made it for him ;)

Опубликовано:
  • Автор

namespace InfinityScript.Examples

{

using InfinityScript;

using System;

 

public class namesv1 : BaseScript

{

public namesv1()

{

base.Call("setDvar", new Parameter[] { "g_teamname_allies", "^1-^0[^4TG^0]^1-^2Clan" });

base.Call("setDvar", new Parameter[] { "g_teamname_axis", "^2Visitantes" });

base.PlayerConnected += delegate (Entity entity) {

entity.SetClientDvar("g_teamname_allies", "^1-^0[^4TG^0]^1-^2Clan");

entity.SetClientDvar("g_teamname_axis", "^2Visitantes");

};

}

}

}

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

I fixed your original post for you. As for it goes away again..

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using InfinityScript;

namespace InfinityScript.Examples
{
   public class namesv1 : BaseScript
   {
       public namesv1()
           : base()
       {

           Call("setDvar", "g_teamname_allies", "Survivor");
           Call("setDvar", "g_teamname_axis", "Infected");

           PlayerConnected += new Action(entity =>
           {
               entity.SetClientDvar("g_teamname_allies", "Survivor");
               entity.SetClientDvar("g_teamname_axis", "Infected");
           });
       }
   }
}

Опубликовано:
  • Автор
I fixed your original post for you. As for it goes away again..

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using InfinityScript;

namespace InfinityScript.Examples
{
   public class namesv1 : BaseScript
   {
       public namesv1()
           : base()
       {

           Call("setDvar", "g_teamname_allies", "Survivor");
           Call("setDvar", "g_teamname_axis", "Infected");

           PlayerConnected += new Action(entity =>
           {
               entity.SetClientDvar("g_teamname_allies", "Survivor");
               entity.SetClientDvar("g_teamname_axis", "Infected");
           });
       }
   }
}

thanks bro

  • 1 month later...
Опубликовано:

Hello! Please, I need help, I copied the above scrit but do not know what to do with it.

For example, I have seen has served files with DSR and was written at the beginning of them (loadScript "TimeName.dll") on my server but I can not change the names of the teams. Please could you guys help me?

 

What do I do after I copy this script above?

 

Note: I do not know anything about scripting, so I need help, seems pretty simple but I do not know what to do.

 

I found nothing on google about it, and I'm getting tired of searching so hard, I managed to install a server here at home, I could do the B3 work, and managed to get echelon panel all for free here at home, even without any knowledge of mysql or anything, so I need a little tutorial on changing names of the teams.

 

I'm brasilian and sorry for my english, i don't speak english.

 

I look, thanks

Опубликовано:
Hello! Please, I need help, I copied the above scrit but do not know what to do with it.

For example, I have seen has served files with DSR and was written at the beginning of them (loadScript "TimeName.dll") on my server but I can not change the names of the teams. Please could you guys help me?

 

What do I do after I copy this script above?

 

Note: I do not know anything about scripting, so I need help, seems pretty simple but I do not know what to do.

 

I found nothing on google about it, and I'm getting tired of searching so hard, I managed to install a server here at home, I could do the B3 work, and managed to get echelon panel all for free here at home, even without any knowledge of mysql or anything, so I need a little tutorial on changing names of the teams.

 

I'm brasilian and sorry for my english, i don't speak english.

 

I look, thanks

Look at my script compile tutorial.

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

Where? sorry for my stupidity, but I'm not seeing.

 

Would you like to teach me.

example:

1 - copy the script above

2 - paste into (somewhere)

3 - save as "teste.cs" or something

 

and so on.

 

do not even know what to do with this script up there.

 

For I know nothing about it but I can do what I ask, once again I apologize for my stupidity.

 

Thank you.

Опубликовано:
Where? sorry for my stupidity, but I'm not seeing.

 

Would you like to teach me.

example:

1 - copy the script above

2 - paste into (somewhere)

3 - save as "teste.cs" or something

 

and so on.

 

do not even know what to do with this script up there.

 

For I know nothing about it but I can do what I ask, once again I apologize for my stupidity.

 

Thank you.

 

HELP ME PLEASE.

Опубликовано:
Where? sorry for my stupidity, but I'm not seeing.

 

Would you like to teach me.

example:

1 - copy the script above

2 - paste into (somewhere)

3 - save as "teste.cs" or something

 

and so on.

 

do not even know what to do with this script up there.

 

For I know nothing about it but I can do what I ask, once again I apologize for my stupidity.

 

Thank you.

 

HELP ME PLEASE.

How about watching the video.

Опубликовано:
Where? sorry for my stupidity, but I'm not seeing.

 

Would you like to teach me.

example:

1 - copy the script above

2 - paste into (somewhere)

3 - save as "teste.cs" or something

 

and so on.

 

do not even know what to do with this script up there.

 

For I know nothing about it but I can do what I ask, once again I apologize for my stupidity.

 

Thank you.

 

HELP ME PLEASE.

 

viewtopic.php?f=39&t=10019

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.