Raised This Month: $ Target: $400
 0% 

Client_Connect Message


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Waleed
Senior Member
Join Date: May 2012
Location: Pakistan
Old 05-17-2012 , 11:37   Client_Connect Message
Reply With Quote #1

Code:
public plugin_init() {
	register_plugin("PLUGIN1", "1.0", "Waleed")
	}

public client_putinserver(playerid){

if(is_user_connected(playerid)){
new string[100];
new name[32]
	get_user_name(playerid, name, charsmax(name))
	format(string, sizeof(string), "%s has joined the server!", name);
	set_hudmessage(0, 255, 0, -1.0, -1.0, 0, 6.0, 30.0, 1.0, 10)
	show_hudmessage(playerid, "Welcome To My Server", string)
		return 1;}}
I want to display New Connected Players name in Middle HUD,But its not working,Any suggestions.
Waleed is offline
Send a message via Skype™ to Waleed
 



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 00:21.


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