Vice City Multiplayer
VC:MP 0.3 => mIRC/pawn Scripting => Snippet Showroom => Topic started 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 :
new RandomGMName[][] =
{
"Come and You!",
"Best Server!",
"<= Small Ping",
"<= is funny",
"***By Moby"
};
forward SendGMName();
OnGameModeInit:
SetTimer("SendGMName",1000, true);
On End:
public SendGMName()
{
new randMSG = random(sizeof(RandomGMName));
SetGameModeText(RandomGMName[randMSG]);
}
Have Fun !
-
Nice one Moby ;)
-
how to install on gups ?
-
how to install on gups ?
Same as other scripts I think.
I never used GUPS ;p Maybe to extract , but never to change it.
-
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.
-
Help Its Says :
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.
-
Help Its Says :
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)
-
Help Its Says :
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
-
Pawn Code sucks a bit...
Replace that with this:
new RandomGMName[][] =
{
"Come and You!",
"Best Server!",
"<= Small Ping",
"<= is funny",
"***By Moby",
};
forward SendGMName();
-
Auto-Change GameMode Name
some Thing Wrong
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
new RandomGMName[][] =
{
"Come and You!",
"Best Server!",
"<= Small Ping",
"<= is funny",
"***By Moby",
};
forward SendGMName();
Replace With
new RandomGMName[][] =
{
"Come and You!",
"Best Server!",
"<= Small Ping",
"<= is funny",
"***By Moby"
};
forward SendGMName();
Hope Thats Work :)
-
You right :P
Is fixed now ^
Thank You. I like to see people who really try the script !
-
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
-
Wow Thx Its Create My Svr Cool ;D Sorry For Double Reply. 8)
Use EDIT button and remove one reply ;)
-
sseebbyy THE BEST, this is funny :P