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

Advertisements 2.1 (Updated 2021/02/06)


Post New Thread Reply   
 
Thread Tools Display Modes
The Killer (DK)
Member
Join Date: Mar 2008
Old 04-30-2009 , 08:58   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #471

Quote:
Originally Posted by DJ Tsunami View Post
Randomization is kind of difficult with a KeyValues file, there's no way to count the amount of sections or jump to a random section. I'll see if I can come up with something.
oh i see.. would you have to make the adverts file line by line to make the adverts load randomly?

im sorry if i ask like if i were retarded because my only serious programming skills lay on php5.. but cant you load add the sections in to an array and count the elements of the array ? if not: then how do know wich section will be the next to load after showing the first advert? there must be a way to do this.

i hope you can make it possible
The Killer (DK) is offline
Odberg
Junior Member
Join Date: Dec 2007
Old 04-30-2009 , 14:41   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #472

What is Smx, should i rename it to amxx, when i install it ?
Odberg is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 04-30-2009 , 15:41   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #473

No, we're in the SourceMod forums, these plugins don't work for AMX Mod X.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline
msleeper
Veteran Member
Join Date: May 2008
Location: Atlanta, Jawjuh
Old 04-30-2009 , 15:51   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #474

__________________
msleeper is offline
Mosalar
Senior Member
Join Date: Jul 2004
Location: Tampa Fl
Old 04-30-2009 , 15:55   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #475

+1 to sleeper.. ATHF FTW!
Mosalar is offline
Odberg
Junior Member
Join Date: Dec 2007
Old 04-30-2009 , 16:13   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #476

ow then im sorry for wasting ur time
Odberg is offline
MoM
Junior Member
Join Date: Aug 2008
Old 05-01-2009 , 07:09   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #477

I should put advertisement.txt in sourcemod/configs?
__________________
MoM is offline
Games
Member
Join Date: Dec 2004
Location: holland
Old 05-01-2009 , 09:45   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #478

By default the plugin reads the advertisements from configs/advertisements.txt

So yes it should go in cstrike/addons/sourcemod/configs/
Games is offline
Kirk_yang
BANNED
Join Date: Apr 2009
Old 05-02-2009 , 09:15   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #479

please help how to use this?? where to put the txt file and also how to sue this its confusing... this is wat i need but i dont know how to use? i put the txt to the gamedata am i right? and the plugins to the plugins... so when ingame? it doesnt show anything
Kirk_yang is offline
santaclaus
Senior Member
Join Date: Dec 2008
Old 05-02-2009 , 10:58   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #480

Quote:
Originally Posted by Kirk_yang View Post
please help how to use this?? where to put the txt file and also how to sue this its confusing... this is wat i need but i dont know how to use? i put the txt to the gamedata am i right? and the plugins to the plugins... so when ingame? it doesnt show anything
Read the first post :

Quote:
By default the plugin reads the advertisements from configs/advertisements.txt, which has this format
advertisemetns.txt in addons/sourcemod/configs/
*.smx in addons/sourcemod/plugin/
__________________

santaclaus 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 00:39.


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