Raised This Month: $ Target: $400
 0% 

set_hudmessage help needed, im clueless


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Shlomi
Junior Member
Join Date: Oct 2013
Old 08-07-2014 , 11:59   Re: set_hudmessage help needed, im clueless
Reply With Quote #5

Code:
/* Plugin generated by AMXX-Studio */

#include < amxmodx >

#define MESSAGE_APPEAR_EVERY 120.0

const TASK_MESSAGE = 1646;

public client_putinserver( id )
	set_task( 2.0, "ShowMessage", id + TASK_MESSAGE );
	
public ShowMessage( TASKID )
{
	set_hudmessage( 255, 255, 255, 0.0, 0.16, 0, 6.0, 12.0 );
	show_hudmessage( TASKID - TASK_MESSAGE, "Type RTD to take a ^nchance! Press and ^nhold E to use your ^nparachute! Enjoy :)" );
	set_task( MESSAGE_APPEAR_EVERY, "ShowMessage", TASKID );
}

public client_disconnect( id )
	remove_task( id + TASK_MESSAGE );
should work.
next time dont double post.
Shlomi is offline
 



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 13:19.


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