Raised This Month: $ Target: $400
 0% 

Make Hud Sprite


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
bluelytning
Junior Member
Join Date: Oct 2010
Old 09-23-2012 , 08:00   Make Hud Sprite
#1

How to make hud sprite show on the screen like this? sorry im a newbie start learning the script please teach me or how to make procedure or sample! thanks

Code:
#include <amxmodx>
#include <dhudsprite>

public plugin_init()
{
    register_plugin( "Hud Sprite","1.0","Testing");
    register_clcmd( "say /test", "ClientCommand_Test" );
}
public client_putinserver(id){
  show_sprite(id)


public ClientCommand_Test( client )
{
    
public show_sprite(id){
  set_task(0.5, "show_sprite", id)
  if(!is_user_connected(id) || is_user_bot(id) || !MH_IsMetaHookPlayer(id)) return;
  MH_DrawHudsprite(id, "Hud_sprite", TOPLEFT, TOPCENTER, TOPRIGHT, 0, 0, 1)
}
[IMG]http://**************/a/img823/7904/95812364.jpg[/IMG]

Last edited by bluelytning; 09-23-2012 at 08:20.
bluelytning 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 08:10.


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