Raised This Month: $ Target: $400
 0% 

2 problems


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Lure.d
BANNED
Join Date: Dec 2009
Location: Lithuania->USA
Old 01-01-2010 , 14:05   2 problems
Reply With Quote #1

1:

I made a function to print players name, but seem not to work...
Code:
public ETCmsg() {
     client_print(0, print_chat, "%d has joined the server", LANG_PLAYER);
}
And when it comes to writing the etcmsg it kicks me outta server and post following in console:

Quote:
Host_Error: WriteDest_Parm: not a clien
How to make it write:
Playername has joined the server.

2:

Multi languaging...
Code:
client_print(0, print_chat, "%L is nice.", "MSG_CAR");
Thats just ex, but it doesnt print anything, just writes
Quote:
MSG_CAR is nice.
I have added
Quote:
register_dictionary("testml.txt");
In it i wrote
Quote:
[en]
MSG_CAR = Ferrari
Still doesnt print a thing except MSG_CAR is nice...

So help will be appreciated very much.

Last edited by Lure.d; 01-01-2010 at 14:12.
Lure.d is offline
Send a message via Skype™ to Lure.d
 



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:07.


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