Vice City Multiplayer

VC:MP 0.3 => mIRC/pawn Scripting => Snippet Showroom => Topic started by: sseebbyy on August 01, 2012, 12:27:13 am

Title: Auto-Change GameMode Name by Moby (me)
Post by: sseebbyy on August 01, 2012, 12:27:13 am
Auto-Change GameMode Name

This script will make the server name to change once a certain period of time chosen by you!

I just give examples.

Video: http://www.youtube.com/watch?v=SgzkcNDsLeo


On Top :


Code: [Select]
new RandomGMName[][] =
{

"Come and You!",
"Best Server!",
"<= Small Ping",
"<= is funny",
"***By Moby"
};

forward SendGMName();

OnGameModeInit:

Code: [Select]
SetTimer("SendGMName",1000, true);
On End:

Code: [Select]
public SendGMName()
{
    new randMSG = random(sizeof(RandomGMName));
    SetGameModeText(RandomGMName[randMSG]);
}

Have Fun !
Title: Re: Auto-Change GameMode Name by Moby (me)
Post by: Pegasus on September 01, 2012, 12:45:11 pm
Nice one Moby  ;)
Title: Re: Auto-Change GameMode Name by Moby (me)
Post by: dynavolt71 on October 06, 2012, 01:01:24 pm
how to install on gups ?
Title: Re: Auto-Change GameMode Name by Moby (me)
Post by: sseebbyy on October 06, 2012, 02:38:22 pm
how to install on gups ?
Same as other scripts I think.
I never used GUPS ;p Maybe to extract , but never to change it.
Title: Re: Auto-Change GameMode Name by Moby (me)
Post by: stormeus on October 08, 2012, 07:20:40 pm
ahhh cmon im is rookie scripter and im dont knew this : On Top and OnGameModeInit and On End

On Top just means to put it at the top of the script. On End just means to put it at the bottom of the script. If you don't know what OnGameModeInit is, you need to read tutorials before trying to copy and paste other people's scripts.
Title: Re: Auto-Change GameMode Name by Moby (me)
Post by: dynavolt71 on October 20, 2012, 09:36:16 am
Help Its Says :
Code: [Select]
C:\Users\afr\Desktop\Beach City\gamemodes\BeachCity.pwn(135) : error 029: invalid expression, assumed zero
C:\Users\afr\Desktop\Beach City\gamemodes\BeachCity.pwn(135) : error 008: must be a constant expression; assumed zero
Pawn compiler 3.0.3367 Copyright (c) 1997-2005, ITB CompuPhase


2 Errors.
Title: Re: Auto-Change GameMode Name by Moby (me)
Post by: sseebbyy on October 20, 2012, 11:02:56 am
Help Its Says :
Code: [Select]
C:\Users\afr\Desktop\Beach City\gamemodes\BeachCity.pwn(135) : error 029: invalid expression, assumed zero
C:\Users\afr\Desktop\Beach City\gamemodes\BeachCity.pwn(135) : error 008: must be a constant expression; assumed zero
Pawn compiler 3.0.3367 Copyright (c) 1997-2005, ITB CompuPhase


2 Errors.

Give me and the line 135. (the script from line 135)
Title: Re: Auto-Change GameMode Name by Moby (me)
Post by: dynavolt71 on October 20, 2012, 12:20:07 pm
Help Its Says :
Code: [Select]
C:\Users\afr\Desktop\Beach City\gamemodes\BeachCity.pwn(135) : error 029: invalid expression, assumed zero
C:\Users\afr\Desktop\Beach City\gamemodes\BeachCity.pwn(135) : error 008: must be a constant expression; assumed zero
Pawn compiler 3.0.3367 Copyright (c) 1997-2005, ITB CompuPhase


2 Errors.

Give me and the line 135. (the script from line 135)
this :[pawn]};[/pawn]
Note i just add these :
[pawn]new RandomGMName[][] =
{

"Come and You!",
"Best Server!",
"<= Small Ping",
"<= is funny",
"***By Moby",
};

forward SendGMName();[/pawn]
On Top
Title: Re: Auto-Change GameMode Name by Moby (me)
Post by: sseebbyy on October 20, 2012, 05:04:05 pm
Pawn Code sucks a bit...

Replace that with this:
Code: [Select]
new RandomGMName[][] =
{

"Come and You!",
"Best Server!",
"<= Small Ping",
"<= is funny",
"***By Moby",
};

forward SendGMName();
Title: Re: Auto-Change GameMode Name by Moby (me)
Post by: dynavolt71 on October 28, 2012, 07:02:54 am
Auto-Change GameMode Name
some Thing Wrong

Code: [Select]
new RandomGMName[][] =
{

"Come and You!",
"Best Server!",
"<= Small Ping",
"<= is funny",
"***By Moby",
};

forward SendGMName();

Moby There Arrent Create Wrong On The last

okay See This
Code: [Select]
new RandomGMName[][] =
{

"Come and You!",
"Best Server!",
"<= Small Ping",
"<= is funny",
"***By Moby",
};

forward SendGMName();
Replace With
Code: [Select]
new RandomGMName[][] =
{

"Come and You!",
"Best Server!",
"<= Small Ping",
"<= is funny",
"***By Moby"
};

forward SendGMName();
Hope Thats Work  :)
Title: Re: Auto-Change GameMode Name by Moby (me)
Post by: sseebbyy on October 28, 2012, 12:52:45 pm
You right :P

Is fixed now ^

Thank You. I like to see people who really try the script !
Title: Re: Auto-Change GameMode Name by Moby (me)
Post by: dynavolt71 on October 29, 2012, 02:05:55 am
Create more i will make it :)

Wow Thx Its Create My Svr Cool  ;D Sorry For Double Reply. 8)

Merged double post. Use the Modify button, please.
-stormeus
Title: Re: Auto-Change GameMode Name by Moby (me)
Post by: sseebbyy on October 29, 2012, 04:47:35 pm
Wow Thx Its Create My Svr Cool  ;D Sorry For Double Reply. 8)

Use EDIT button and remove one reply ;)
Title: Re: Auto-Change GameMode Name by Moby (me)
Post by: [KB]ViceMania on October 29, 2012, 11:04:07 pm
sseebbyy THE BEST, this is funny :P