Raised This Month: $ Target: $400
 0% 

Very Important Question


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Ax3l
Member
Join Date: Nov 2009
Old 07-19-2012 , 13:36   Very Important Question
Reply With Quote #1

I want to know how can i make one plugin , that if 1 player type /vot in chat to count here -> http://www.csservers.ro/evidenta/war3ft.indungi.ro ( where says VOTEAZA )

I tried something like this but didn't work

Code:
register_clcmd( "say /vot" , "CmdVot" );

public CmdVot( iPlayer )
{
        show_motd( iPlayer , "http://www.csservers.ro/voteaza/war3ft.indungi.ro" );
}
But when i put it on server , and i wrote /vot , it appear motd with that page , but instead of voting didn't do anything

I want to know if is possible 'cuz i know another website that made 1 plugin that count voting ( but they don't give the .sma )

Thanks in advance
__________________
Ax3l is offline
OvidiuS
Chillaxin'
Join Date: Dec 2009
Location: Serbia
Old 07-19-2012 , 14:27   Re: Very Important Question
Reply With Quote #2

Quote:
Originally Posted by Ax3l View Post
I want to know how can i make one plugin , that if 1 player type /vot in chat to count here -> http://www.csservers.ro/evidenta/war3ft.indungi.ro ( where says VOTEAZA )

I tried something like this but didn't work

Code:
register_clcmd( "say /vot" , "CmdVot" );

public CmdVot( iPlayer )
{
        show_motd( iPlayer , "http://www.csservers.ro/voteaza/war3ft.indungi.ro" );
}
But when i put it on server , and i wrote /vot , it appear motd with that page , but instead of voting didn't do anything

I want to know if is possible 'cuz i know another website that made 1 plugin that count voting ( but they don't give the .sma )

Thanks in advance
It is possible. I made for this one http://www.gametracker.ro/servere/ ;)
You need direct link :S

Last edited by OvidiuS; 07-19-2012 at 14:33.
OvidiuS is offline
Send a message via Skype™ to OvidiuS
Ax3l
Member
Join Date: Nov 2009
Old 07-19-2012 , 14:34   Re: Very Important Question
Reply With Quote #3

This is direct link -> http://www.csservers.ro/voteaza/war3ft.indungi.ro

And when i put it like this :

Code:
public CmdVot( iPlayer )
{
  show_motd( iPlayer , "http://www.csservers.ro/voteaza/war3ft.indungi.ro" );
}
Don't vote , it say to me "no referrer" when i type /vot in cs

EDIT : If i put .html in configs , or directly show_motd - link , it always say : "no referer" . Know someone why ? What i need to do to vote .
__________________

Last edited by Ax3l; 07-19-2012 at 16:03.
Ax3l 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 22:11.


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