Raised This Month: $12 Target: $400
 3% 

Awesome!


Post New Thread Reply   
 
Thread Tools Display Modes
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 02-18-2009 , 12:11   Re: Awesome!
Reply With Quote #11

Quote:
Originally Posted by DarkGod View Post
Multilingual would be nice.
Lol. This quote is almost as funny as the plugin.
__________________
joaquimandrade is offline
Jheshka
Senior Member
Join Date: Dec 2005
Old 02-18-2009 , 12:12   Re: Awesome!
Reply With Quote #12

Can I get a link to how to add multilingual support?
__________________
James
Jheshka is offline
DarkGod
SourceMod DarkCrab
Join Date: Jul 2007
Location: Sweden
Old 02-18-2009 , 12:13   Re: Awesome!
Reply With Quote #13

FYI, I'm just playing.

It would be nice, though.
__________________
DarkGod is offline
Send a message via AIM to DarkGod Send a message via MSN to DarkGod
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 02-18-2009 , 12:19   Re: Awesome!
Reply With Quote #14

With multilanguage support:

PHP Code:
#include <amxmodx> 

public plugin_init() 
{
    
register_plugin"Awesome!""1.3.3.7""Jheshka" );
    
register_dictionary("Awesome.txt");
}

public 
client_putinserver(id
{
    for(new 
i=0;i<5;i++)
        
client_print(0print_chat"%L",id,"AWESOME_MSG");

This will print messages for those who are in the server, everytime a client is put in server, and in the language of the newcomer
Attached Files
File Type: txt Awesome.txt (162 Bytes, 154 views)
__________________
joaquimandrade is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 02-18-2009 , 12:19   Re: Awesome!
Reply With Quote #15

you stealed my 1337 version change author :[ ftw

joaquimandrade dont load server with this sucky loop!! dont use it
__________________
xPaw is offline
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 02-18-2009 , 12:22   Re: Awesome!
Reply With Quote #16

And anyway, this
Quote:
public client_putinserver(id)
{
for(new
i=0;i<5;i++)
client_print(0, print_chat, "%L",id,"AWESOME_MSG");
}

should be

Code:
client_print(0,print_chat,"%L",LANG_PLAYER,"AWESOME_MSG");
__________________

anakin_cstrike is offline
Jheshka
Senior Member
Join Date: Dec 2005
Old 02-18-2009 , 12:23   Re: Awesome!
Reply With Quote #17

Yeah.... Is that for loop necessary?
__________________
James
Jheshka is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 02-18-2009 , 12:24   Re: Awesome!
Reply With Quote #18

Quote:
Originally Posted by Jheshka View Post
Any suggestions?
Trash this.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 02-18-2009 , 12:24   Re: Awesome!
Reply With Quote #19

this loop will use around 600mb of ram
__________________
xPaw is offline
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 02-18-2009 , 12:25   Re: Awesome!
Reply With Quote #20

Quote:
Originally Posted by Jheshka View Post
Yeah.... Is that for loop necessary?
The loop makes you able to increase the awesomeness of your server by increasing its length.
__________________
joaquimandrade is offline
Reply


Thread Tools
Display Modes

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 06:26.


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