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

how i cant send pm with infinity script???

for say i use this

Utilities.ExecuteCommand("say string");

plz help

Featured Replies

Опубликовано:
how i cant send pm with infinity script???

for say i use this

Utilities.ExecuteCommand("say string");

plz help

You can send PMs with B3 ....

 

i work on infinity script :|

Опубликовано:
That executes a console command

 

what's that command??

Опубликовано:
That executes a console command

Yes, and say is a command in console, in which "say string" would make the player say "string" in the chat.

 

I'm pretty sure, anyways, lol.

 

As Avail said check the RCON commands B3 uses and it may help you.

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

Exactly what JoeyB said. say does iprintlnbold for all players. So you can't specifically do it with IS and the iprintlnbold. Or... you have to detect the name and the player in the game then make it do self iprintlnbold on the player. But... good luck with that.

Опубликовано:
Exactly what JoeyB said. say does iprintlnbold for all players. So you can't specifically do it with IS and the iprintlnbold. Or... you have to detect the name and the player in the game then make it do self iprintlnbold on the player. But... good luck with that.

 

:? i cant detect players to apply action on it :cry:

Опубликовано:
Exactly what JoeyB said. say does iprintlnbold for all players. So you can't specifically do it with IS and the iprintlnbold. Or... you have to detect the name and the player in the game then make it do self iprintlnbold on the player. But... good luck with that.

 

:? i cant detect players to apply action on it :cry:

Then you can't do anything to PM.

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

Ah, the command is tell.

 

You'd have to do it from console though I believe you can't make one user PM another.

 

You'd also have to PM them via their client number, which you can get with getEntityNumber.

Maybe if you're making a plugin to use a command like !pm you could use something similar to a for loop to go through each player and isSubStr(their input, their name) and if true then make it do the tell command or whatever. Just an idea.

Also if you can't tell, I haven't used InfinityScript, as I don't really like MW3.

Опубликовано:
Exactly what JoeyB said. say does iprintlnbold for all players. So you can't specifically do it with IS and the iprintlnbold. Or... you have to detect the name and the player in the game then make it do self iprintlnbold on the player. But... good luck with that.

 

:? i cant detect players to apply action on it :cry:

Then you can't do anything to PM.

 

if i want to get my ping i use >

if (split[0] == "!inf")
           {
               int ping;
               string xuid;
               string name;
               name = player.Name;
               ping = player.Ping;
               xuid = player.GUID.ToString();
               say("^5" + name + " : ^1Ping : ^2" + ping + " ^1XUID : ^2" + xuid);
           }

now i want get a other player ping :S

but how ???

Опубликовано:
JoeyB":2whoaix0]Ah, the command is tell.

 

You'd have to do it from console though I believe you can't make one user PM another.

 

You'd also have to PM them via their client number, which you can get with getEntityNumber.

Maybe if you're making a plugin to use a command like !pm you could use something similar to a for loop to go through each player and isSubStr(their input, their name) and if true then make it do the tell command or whatever. Just an idea.

Also if you can't tell, I haven't used InfinityScript, as I don't really like IW5.

 

no i'm working on admin mod (with infinityscript) everything is ready but pm... :(((((

Опубликовано:
JoeyB":1ikdcd91]Ah, the command is tell.

 

You'd have to do it from console though I believe you can't make one user PM another.

 

You'd also have to PM them via their client number, which you can get with getEntityNumber.

Maybe if you're making a plugin to use a command like !pm you could use something similar to a for loop to go through each player and isSubStr(their input, their name) and if true then make it do the tell command or whatever. Just an idea.

Also if you can't tell, I haven't used InfinityScript, as I don't really like IW5.

 

no i'm working on admin mod (with infinityscript) everything is ready but pm... :(((((

 

admin mod o_0

I already started one (I hate b3) and i also have a valid working way to send pm(Private Message)

ex : !pm

and i have gotten other commands such as !kill , !kick , !ban

etc

 

Contact me if you want us to work together.

Опубликовано:
Exactly what JoeyB said. say does iprintlnbold for all players. So you can't specifically do it with IS and the iprintlnbold. Or... you have to detect the name and the player in the game then make it do self iprintlnbold on the player. But... good luck with that.

'say' is not 'iprintlnbold' ._.

also, if memory serves me correctly, use the 'tell' command.

 

... xuid = player.GUID.ToString(); ...

Use player.UserID - it maps to their ID on the forums, and is easier to store.

... now i want get a other player ping :S ...

If you've called the base() func on your initializer, you should be able to use the public Players variable, or, Entity.GetEntity(0 - 18);

Опубликовано:
JoeyB":2uqr9ys3]Ah, the command is tell.

 

You'd have to do it from console though I believe you can't make one user PM another.

 

You'd also have to PM them via their client number, which you can get with getEntityNumber.

Maybe if you're making a plugin to use a command like !pm you could use something similar to a for loop to go through each player and isSubStr(their input, their name) and if true then make it do the tell command or whatever. Just an idea.

Also if you can't tell, I haven't used InfinityScript, as I don't really like IW5.

 

no i'm working on admin mod (with infinityscript) everything is ready but pm... :(((((

 

admin mod o_0

I already started one (I hate b3) and i also have a valid working way to send pm(Private Message)

ex : !pm

and i have gotten other commands such as !kill , !kick , !ban

etc

 

Contact me if you want us to work together.

 

ok i call you

Опубликовано:
Exactly what JoeyB said. say does iprintlnbold for all players. So you can't specifically do it with IS and the iprintlnbold. Or... you have to detect the name and the player in the game then make it do self iprintlnbold on the player. But... good luck with that.

'say' is not 'iprintlnbold' ._.

also, if memory serves me correctly, use the 'tell' command.

 

... xuid = player.GUID.ToString(); ...

Use player.UserID - it maps to their ID on the forums, and is easier to store.

... now i want get a other player ping :S ...

If you've called the base() func on your initializer, you should be able to use the public Players variable, or, Entity.GetEntity(0 - 18);

 

thanks :D

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.