Raised This Month: $ Target: $400
 0% 

[SOLVED] First spawn message & message on every third round


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
groofshark
Member
Join Date: Jul 2013
Old 07-26-2013 , 04:11   [SOLVED] First spawn message & message on every third round
Reply With Quote #1

Hi,
can you make me plugin, which shows a message at first spawn only? After that to show the same message on every third round.

Last edited by groofshark; 07-27-2013 at 05:17. Reason: mistake
groofshark is offline
sami_spt
Veteran Member
Join Date: Sep 2012
Location: I<3 pussy cats
Old 07-26-2013 , 04:13   Re: First spawn message & message on every third round
Reply With Quote #2

that means it will show a message in the 1st round?

then 1 round , 1 round, it will show the message again?
sami_spt is offline
groofshark
Member
Join Date: Jul 2013
Old 07-26-2013 , 04:16   Re: First spawn message & message on every third round
Reply With Quote #3

Quote:
Originally Posted by sami_spt
that means it will show a message in the 1st round?
Yes, first round after connect.
Quote:
Originally Posted by sami_spt
then 1 round , 1 round, it will show the message again?
Right.
groofshark is offline
sami_spt
Veteran Member
Join Date: Sep 2012
Location: I<3 pussy cats
Old 07-26-2013 , 04:24   Re: First spawn message & message on every third round
Reply With Quote #4

HUd or normal chat messages?

give me more info..

what to write in the message. X_X

colored or normal.
sami_spt is offline
groofshark
Member
Join Date: Jul 2013
Old 07-26-2013 , 04:29   Re: First spawn message & message on every third round
Reply With Quote #5

Quote:
Originally Posted by sami_spt
HUd or normal chat messages?
Chat.
Quote:
Originally Posted by sami_spt
what to write in the message.
Doesn't matter. Something which I'll write.
Quote:
Originally Posted by sami_spt
colored or normal.
Better colored.
groofshark is offline
zi443r
Senior Member
Join Date: Mar 2009
Location: Braila,Romania
Old 07-26-2013 , 04:43   Re: First spawn message & message on every third round
Reply With Quote #6

the first round of map or the first round of player?
__________________
zi443r is offline
groofshark
Member
Join Date: Jul 2013
Old 07-26-2013 , 04:48   Re: First spawn message & message on every third round
Reply With Quote #7

Quote:
Originally Posted by zi443r View Post
the first round of map or the first round of player?
First round of a player.

I apologize for the little information.

Last edited by groofshark; 07-26-2013 at 04:49.
groofshark is offline
Moody92
Veteran Member
Join Date: May 2011
Location: Oman
Old 07-26-2013 , 05:18   Re: First spawn message & message on every third round
Reply With Quote #8

Well, this topic lacks of information.. does he have to be alive for that ? or just when he picks up a team he gets the message ?
Moody92 is offline
groofshark
Member
Join Date: Jul 2013
Old 07-26-2013 , 05:42   Re: First spawn message & message on every third round
Reply With Quote #9

Quote:
Originally Posted by Moody92
does he have to be alive for that ?
first spawn... --> alive and on every third round, message appears at spawn again.

Last edited by groofshark; 07-26-2013 at 05:47.
groofshark is offline
TheDS1337
Veteran Member
Join Date: Jun 2012
Old 07-26-2013 , 07:36   Re: First spawn message & message on every third round
Reply With Quote #10

Try this:
Code:
#include <amxmodx> #include <amxmisc> #include <hamsandwich> #include <chatcolor> /* Edit me */ new const g_message[] = "^x04 Welcome! :D"; new g_playedrounds[33]; public plugin_init() {     RegisterHam(Ham_Spawn, "player", "forwardPlayerSpawnPost", 1); } public forwardPlayerSpawnPost(id) {     if (g_playedrounds[id] > 1)     {         return;     }             ColorChat(id, Grey, g_message);         g_playedrounds[id]++; }
TheDS1337 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 21:28.


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