Vice City Multiplayer
VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: A7Xsniper on April 23, 2011, 02:13:24 am
-
English: how to make the cd command in ann?
EspaƱol: como hacer ke el comando cd aparesca en el ann?
xD
-
i will do it X_X
-
Meh, this is easy to do, GUPS cd.
Replace SendClientMessageToAll with GameTextForAll .. Eh?
-
este es el comando !cd que quiero hacer en ann
this is the !cd command I want to do ann
}
else if (strcmp(cmd, "!cd", true) == 0) {
SetTimer("CountDowns", 1000, 0);
SetTimer("CountDowns", 2000, 0);
SetTimer("CountDowns", 3000, 0);
SetTimer("FinalCount", 4000, 0);
return 1;
-
Add this at Public's For GUPS
public CountDownsAnn()
{
new string[256];
format(string,256,"~y~== %s ==",IntToStr(ServerInfo[0][Countx]));
GameTextForAll(string);
ServerInfo[0][Countx]--;
if(ServerInfo[0][Countx] <= 0) {
ServerInfo[0][Countx] = 3;
}
}
and public FinalCountAnn()
{
GameTextForAll("~o~==GO!==");
}
At cmd modify it
else if (strcmp(cmd, "!cd", true) == 0) {
SetTimer("CountDownsAnn", 1000, 0);
SetTimer("CountDownsAnn", 2000, 0);
SetTimer("CountDownsAnn", 3000, 0);
SetTimer("FinalCountann", 4000, 0);
return 1;
}
-
thank you very much! BIG [H]