Raised This Month: $ Target: $400
 0% 

Advertisements 2.1 (Updated 2021/02/06)


Post New Thread Reply   
 
Thread Tools Display Modes
xSavagEx
Junior Member
Join Date: Jan 2009
Old 04-20-2009 , 05:33   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #461

DJ Tsunami Please Do the Support UTF-8 Format on advertisements.txt file Is it Possible?
xSavagEx is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 04-20-2009 , 11:52   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #462

Have you even read the topic? UTF-8 works just fine.
__________________
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
xSavagEx
Junior Member
Join Date: Jan 2009
Old 04-21-2009 , 06:35   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #463

47 pages hm. I write on russian in the advertisements.txt, do save as in utf-8 and no text appears,just nothing.What im do wrong?
p.s. i have sourcemod 1.2.0.
xSavagEx is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 04-21-2009 , 08:04   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #464

At the top right of each topic it says Search this Thread. Click on it, type UTF-8 and press Enter.
__________________
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
xSavagEx
Junior Member
Join Date: Jan 2009
Old 04-21-2009 , 08:28   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #465

hmm So complicated Notepad++ without bom.(
xSavagEx is offline
HARRY
Junior Member
Join Date: Apr 2009
Old 04-29-2009 , 03:36   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #466

Got a question!
What and where do i change the position of the advertisetyp "T".I mean the position "top left" is directly on the gameflag symbols.So i wanted to have it under the gameflagsymbols
Any suggestions how to solve it ???

m.f.G HARRY
HARRY is offline
The Killer (DK)
Member
Join Date: Mar 2008
Old 04-29-2009 , 13:57   REQUEST: Advertisements 0.5.5
Reply With Quote #467

Hey Tsunami,

i have 3 small requests i hope you will add:

{HOSTNAME} and {NEXTMAP}
(get the nextmap from sm_nextmap cvar...)
i can do the 2 above my self but if you will add the one below then
it would be easy for you to add those at the same time


sm_advertisements_random 0|1 //for random adverts

if all this is added then it would be possible to replace mani's advert system with this (wich is my intention)

(this is the last function of mani i need to get ported to SM so i can permanently get a rid of mani, i have just finnished modifying 'Webshortcuts')

help is greatly appreciated

-Killer
The Killer (DK) is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 04-29-2009 , 16:47   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #468

Quote:
Originally Posted by DJ Tsunami View Post
Text

This field supports the following variables: {CURRENTMAP}, {DATE}, {TICKRATE}, {TIME}, {TIME24} and {TIMELEFT}. Next to that you can print the value of a cvar by enclosing the name with {}. For example you can use {SM_NEXTMAP} to show the name of the next map. Last but not least, for a boolean cvar you might want to have it print OFF/ON instead of 0/1. For that you can use {BOOL:name}. For example {BOOL:MP_FRIENDLYFIRE} will print OFF if mp_friendlyfire is set to 0, and ON if it's set to 1. If you want it to print something other than OFF/ON, you will have to open the source code, change the defines at the top and recompile. Also supports \n for newlines (confirmed to work for C, M and S messages). A couple of examples are given in the attached advertisements.txt.
Quote:
Originally Posted by DJ Tsunami View Post
Do you mean the hostname? {HOSTNAME} should work since it's a cvar.
Is reading or searching really that difficult?
__________________
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
The Killer (DK)
Member
Join Date: Mar 2008
Old 04-30-2009 , 00:17   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #469

oh my... im so sorry.. now i seem to be one of the lazy/silly noobs who don't read any thing and just start complaining before they know if they have something to complain about...
how embarrassing... i actually HAVE read that.. i must have been tired.

sorry tsunami,,, my fault


lets try over: what about the random cvar ? could you add that ?
if you're not angry with me in some way ?




-killer
The Killer (DK) is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 04-30-2009 , 06:11   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #470

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.
__________________
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
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 16:02.


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