Raised This Month: $ Target: $400
 0% 

Problems with register_dictionary


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
teame06
i have a hat
Join Date: Feb 2005
Location: Hat City
Old 10-26-2006 , 12:26   Re: Problems with register_dictionary
Reply With Quote #8

Quote:
Originally Posted by Silencer123 View Post
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 View Post
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.
__________________
No private support via Instant Message
GunGame:SM Released
teame06 is offline
Send a message via AIM to teame06
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:49.


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