AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   multi-lang (https://forums.alliedmods.net/showthread.php?t=206841)

GhostMan 01-26-2013 13:26

multi-lang
 
PHP Code:

register_clcmd"say /any",      "Any" );

public 
Any(id)
{
    new 
szName32 ];
    
get_user_nameidszName31 );

    
set_hudmessage222700, -1.00.313.03.02.01.0, -);
    
show_hudmessage0"Player %s used /any command!"szName );


I know that multi-lingual not supporting ID = 0 so i'm not sure how should it look that message would be printed for whole server. Could i get some example?

Arkshine 01-26-2013 14:08

Re: multi-lang
 
It supports.

show_hudmessage( 0, "SOME_KEY", LANG_PLAYER, szName );


All times are GMT -4. The time now is 20:31.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.