Quote:
Originally Posted by Silencer123
Code:
public tell_player_plugins_version(id)
{
new szMsg[180]
format(szMsg,179,"%L",id,"LANG_INTRO",VERSION)
client_print(id,print_chat,szMsg)
// Is this correct?
// Must/Should the L be capital?
// Is 'VERSION' at the correct Position?
// Will "ö","ä" and "ü" work? They do in NS, but do they do so via AMXX?
}
|
You can't be using direct buffer in client_print. You need to do client_print(id, print_chat, "%s", szMsg); . Yes VERSION Is at the correct poistion if it is an string. I'm not sure about those "ö", etc.. %L << L has to be capitalized I believe
Quote:
Originally Posted by Rolnaaba
Code:
register_clcmd ( const client_cmd[],const function[],flags=-1, info[]="" )
register_concmd ( const client_cmd[],const function[],flags=-1, info[]="" )
what is difference between concmd and clcmd teame06?
|
When you register a console command It will work in the client console and server console. When you register a client command it will only work in the client console.
__________________