Raised This Month: $204 Target: $400
 51% 

Spectator Banner(PICTURE) Ads


Post New Thread Reply   
 
Thread Tools Display Modes
diamond-optic
Veteran Member
Join Date: May 2005
Location: Upstate New York
Old 06-10-2009 , 17:22   Re: Spectator Banner(PICTURE) Ads
Reply With Quote #101

Quote:
Originally Posted by the_prince View Post
You mean AMX MOD X doesnt support non-steam if so the you are wrong my brother.~! I have non-steam and all the plugins work fine.

its not supported, doesnt mean things wont work.. just means you most likely wont get any help for stuff that doesnt
__________________
diamond-optic is offline
Send a message via AIM to diamond-optic
Switchie
Senior Member
Join Date: Mar 2006
Location: Belgium
Old 06-11-2009 , 11:36   Re: Spectator Banner(PICTURE) Ads
Reply With Quote #102

Is this plugin broke after the steam update today ?

Plugin is running and files did download but no showing .
__________________
Switchie is offline
Hack_
Senior Member
Join Date: Jul 2008
Location: In The Virus! :D
Old 06-13-2009 , 21:47   Re: Spectator Banner(PICTURE) Ads
Reply With Quote #103

hey bro what's size of the image or pic?
__________________
Added me to xfire Ri7x
[IMG]http://img441.**************/img441/741/steamht7fn8eh0.gif[/IMG]
Hack_ is offline
Switchie
Senior Member
Join Date: Mar 2006
Location: Belgium
Old 06-14-2009 , 17:25   Re: Spectator Banner(PICTURE) Ads
Reply With Quote #104

256x64

I used photoshop
__________________
Switchie is offline
Owyn
Veteran Member
Join Date: Nov 2007
Old 06-15-2009 , 12:22   Re: Spectator Banner(PICTURE) Ads
Reply With Quote #105

you may use images with bigger resolution as i tested but sometimes it doesn't work
__________________
☜ Free Mozy ☂backup\҉sync user
Quote:
Американский форум - Задаёшь вопрос, потом тебе отвечают.
Израильский форум - Задаёшь вопрос, потом тебе задают вопрос.
Русский форум - Задаёшь вопрос, потом тебе долго рассказывают, какой ты мудак.
Owyn is offline
Send a message via ICQ to Owyn
Switchie
Senior Member
Join Date: Mar 2006
Location: Belgium
Old 06-26-2009 , 09:54   Re: Spectator Banner(PICTURE) Ads
Reply With Quote #106

I was wondering is it possible to get TGA pics on the map walls with bigger resolution ?
__________________
Switchie is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 06-26-2009 , 11:02   Re: Spectator Banner(PICTURE) Ads
Reply With Quote #107

PHP Code:
#define PLUGIN  "Spectator Banner Ads"
#define VERSION "0.1.16"
#define AUTHOR  "iG_os"
#include <amxmodx>
#define SVC_DIRECTOR 51  // come from util.h
#define DRC_CMD_BANNER 9 // come from hltv.h
// sum of tga files
#define TGASUM 2
// tga of banners
new szTga[TGASUM][] ={
 
"gfx/crazyeffect.tga",
 
"gfx/crazyeffect2.tga"
}
new 
pCVAR_Tga
new g_SendOnce[33]
public 
plugin_precache()
{
   
register_plugin(PLUGINVERSIONAUTHOR)
   
register_logevent("joined_team"3"1=joined team")
   
pCVAR_Tga register_cvar("spec_banner_ads""1")
   if (
get_pcvar_num(pCVAR_Tga))
   {
      for (new 
i=0i<TGASUMi++)
         
precache_generic(szTga[i])
   }
}

public 
client_putinserver(id)
{
   
g_SendOnce[id] = true
}

public 
joined_team()
{
   new 
loguser[80], name[32]
   
read_logargv(0loguser79)
   
parse_loguser(logusername31)
   new 
id get_user_index(name)
   if ( 
get_pcvar_num(pCVAR_Tga) && g_SendOnce[id] && is_user_connected(id) )
   {
      
// random select one tga
      
new index random_num0TGASUM 1)
      
g_SendOnce[id] = false
      
// send show tga command to client
      
message_beginMSG_ONESVC_DIRECTOR_id )
      
write_bytestrlenszTga[index]) + // command length in bytes
      
write_byteDRC_CMD_BANNER )
      
write_stringszTga[index] ) // banner file
      
message_end()
   }

This doesnt work? Why?
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
aes
Senior Member
Join Date: May 2009
Location: Garena
Old 06-26-2009 , 12:21   Re: Spectator Banner(PICTURE) Ads
Reply With Quote #108

Can you link the download of the contverter ?
__________________
aes is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 06-26-2009 , 12:58   Re: Spectator Banner(PICTURE) Ads
Reply With Quote #109

GIMP
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
-ynk
Junior Member
Join Date: Jun 2009
Old 10-06-2009 , 05:20   Re: Spectator Banner(PICTURE) Ads
Reply With Quote #110

I have problem - after this plugin my hltv disconnects after 20 minutes.

Can somebody help with source edit ?
-ynk 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 10:44.


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