Raised This Month: $32 Target: $400
 8% 

Join Massage


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
F a R a Z
Junior Member
Join Date: Dec 2017
Location: Nour
Old 12-20-2017 , 07:39   Join Massage
Reply With Quote #1

I want One Source Code That Every Player Join The Game Open And Welcome
Thanks
F a R a Z is offline
Saint Sinner
Senior Member
Join Date: Feb 2016
Old 12-20-2017 , 07:41   Re: Join Massage
Reply With Quote #2

Code:
#include <amxmodx> 
#includ <amxmisc> 

public client_putinserver( id ) 
set_task( 6.0, "welcome", id ) 

public welcome( id ) 
{ 
new name [ 32 ] 
get_user_name( id, name, 31 ) 
set_hudmessage( 200, 100, 0, -1.0, 0.7, 0, 0.0, 3.0, _, _, -1 ) 
show_hudmessage( id, "Welcome to our server, %s", name ) 

return PLUGIN_HANDLED 
}
Saint Sinner is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 12-20-2017 , 08:08   Re: Join Massage
Reply With Quote #3

Join "massage"?
CrazY. is offline
Seta00
The Seta00 user has crashed.
Join Date: Jan 2010
Location: Berlin
Old 12-20-2017 , 09:31   Re: Join Massage
Reply With Quote #4

Moved to Suggestions/Requests.
Seta00 is offline
Relaxing
AlliedModders Donor
Join Date: Jun 2016
Location: White Plains
Old 12-20-2017 , 09:56   Re: Join Massage
Reply With Quote #5

Quote:
Originally Posted by CrazY. View Post
Join "massage"?
Forgive him. He won't make grammar mistakes anymore.
__________________

Last edited by Relaxing; 12-20-2017 at 09:57. Reason: Also me
Relaxing is offline
Alber9091
Veteran Member
Join Date: Jun 2014
Location: Karachi, Pakistan
Old 12-20-2017 , 10:05   Re: Join Massage
Reply With Quote #6

PHP Code:
/*---------------------------------------------------------------------------
 |                  Welcome Message (v1.2)  © 2011                 |
 |                                                             |
 |              Plugin by Dusan (Uncut*) Stojadinovic                   |
 |                                        |
 |     Made 28. III 2011.             Contact - [email protected]    |
 ---------------------------------------------------------------------------*/

#include <amxmodx>
#include <amxmisc>
#include <colorchat>

#define PLUGIN "Welcome msg"
#define VERSION "1.2"
#define AUTHOR "Uncut*"


new gprefixautoserver


public plugin_init() {
    
    
register_plugin(PLUGINVERSIONAUTHOR)
    
register_cvar("welcomemsg""1.2" , (FCVAR_SERVER|FCVAR_SPONLY))
    
register_cvar("uncut""1.0" , (FCVAR_SERVER|FCVAR_SPONLY))

    
gprefix register_cvar("amx_connect_prefix""Server")
    
auto register_cvar("amx_connect_auto""1")
    
server register_cvar("amx_connect_server""Ime servera")

 
}
public 
client_putinserver(id){
    
set_task(2.0"poruka"id__"a"1)
}
public 
poruka(id){
    new 
Ime[32]
    
get_user_name(idIme[id], 31)
        
    static 
prefix[10]
    
get_pcvar_string(gprefixprefix9)
        
    new 
hostname[55]
    
get_pcvar_string((get_cvar_pointer("hostname")), hostname54)
        
    new 
pserver[41]
    
get_pcvar_string(serverpserver40)
        
        
    if(
get_pcvar_num(auto) == 0)
        
ColorChat(id ,RED"^x04[%s]^x01 Pozdrav ^x03 %s ^x01 , Dobrodosao na ^x03 %s ^x01 | ^x04Uzivaj u igri ;)^x01"prefixIme[id], pserver )
    else
        
ColorChat(id ,RED"^x04[%s]^x01 Pozdrav ^x03 %s ^x01 , Dobrodosao na ^x03 %s ^x01 | ^x04Uzivaj u igri ;)^x01"prefixIme[id], hostname )
        
        
    return 
PLUGIN_HANDLED

Use Google Translate: Language Is Serbian/Bosnian/Crotian.

http://plugins.kgb-hosting.com/index...ceeab23ac83ec3

Last edited by Alber9091; 12-20-2017 at 10:06.
Alber9091 is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 12-20-2017 , 13:31   Re: Join Massage
Reply With Quote #7

I'm just being sarcastic, besides, since when has this forum become Serbian, Bosnian or Crotian? I guess it's just English, isn't it?...


Last edited by CrazY.; 12-20-2017 at 13:34.
CrazY. is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 12-20-2017 , 14:25   Re: Join Massage
Reply With Quote #8

PHP Code:
new Ime[32]
get_user_name(idIme[id], 31
I've seen some bad codes, but this... This is next level.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Alber9091
Veteran Member
Join Date: Jun 2014
Location: Karachi, Pakistan
Old 12-20-2017 , 16:11   Re: Join Massage
Reply With Quote #9

Quote:
Originally Posted by CrazY. View Post
I'm just being sarcastic, besides, since when has this forum become Serbian, Bosnian or Crotian? I guess it's just English, isn't it?...

Well I don't know coding ..!! And What I Knew I Shared To Help ..!! Hence In Case, I also mentioned language in script + I also provided the actual link.
Alber9091 is offline
Alber9091
Veteran Member
Join Date: Jun 2014
Location: Karachi, Pakistan
Old 12-20-2017 , 16:12   Re: Join Massage
Reply With Quote #10

Quote:
Originally Posted by OciXCrom View Post
PHP Code:
new Ime[32]
get_user_name(idIme[id], 31
I've seen some bad codes, but this... This is next level.

Hahaha, Neither I know coding! Nor I Made It, I Shared It, As It Is ..!!
Alber9091 is offline
Reply



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 02:33.


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