Vice City Multiplayer
VC:MP 0.3 => mIRC/pawn Scripting => Snippet Showroom => Topic started by: rathore on January 08, 2014, 09:20:08 pm
-
Paste it in (!) commands
[pawn]
else if (strcmp(cmd, "!duel", true) == 0)
{
tmp = strtok(cmdtext, idx);
if (!strlen(tmp)) {
SetPlayerPos(playerid, -1726.6647, -158.4375, 14.8683,0,0);
SendClientMessage(playerid, COLOR_BLUE, "Welcome to Duel!");
GivePlayerWeapon(playerid, 20, 100);
GivePlayerWeapon(playerid, 22, 100);
GivePlayerWeapon(playerid, 26, 100);
new plname[24],enstr[128];
GetPlayerName(playerid,plname,24);
format(enstr,sizeof(enstr),"%s has join Duel.",plname);
SendClientMessageToAll(COLOR_BLUE,enstr);
}
return 1;
}
else if (strcmp(cmd, "!fight", true) == 0)
{
tmp = strtok(cmdtext, idx);
if (!strlen(tmp)) {
SetPlayerPos(playerid, -985.8318, 554.6478, 113.7330,0,0);
SendClientMessage(playerid, COLOR_BLUE, "Welcome to Fight Zone!");
GivePlayerWeapon(playerid, 23, 100);
GivePlayerWeapon(playerid, 20, 100);
GivePlayerWeapon(playerid, 32, 100);
new plname[24],enstr[128];
GetPlayerName(playerid,plname,24);
format(enstr,sizeof(enstr),"%s has join fight zone.",plname);
SendClientMessageToAll(COLOR_BLUE,enstr);
}
return 1;
}
else if ( strcmp( cmd, "!exit", true ) == 0 )
{
SetPlayerPos( playerid, -825.6501, -340.4714, 11.0712,0,0 );
new plname[24],enstr[128];
GetPlayerName(playerid,plname,24);
format(enstr,sizeof(enstr),"%s Has Left the current location.",plname);
SendClientMessageToAll(COLOR_BLUE,enstr);
return 1;
}[/pawn]
-
Ale/Mrockx 's style, huh
-
New Mrockdark xD
-
New Mrockdark xD
Yeee, Alemrock :D
-
NO its my command its not a copy 8)
-
NO its my command its not a copy 8)
I did not say it was copying, and why you seem to aledark mrockxx and doing simple commands ;D ;D
-
NO its my command its not a copy 8)
I did not say it was copying, and why you seem to aledark mrockxx and doing simple commands ;D ;D
His commands aren't same with Ale/mrockx's, but the code is very similar to.
-
Please Dude! U nD Ale Please Stop Copying My Script Styles. nD Body Please Make Your Own New Style. I Have A Request From Stormeus To Remove This. Its A Simple Nd Easy Cmd. Lol
-
I Have A Request From Stormeus To Remove This. Its A Simple Nd Easy Cmd.
Nope.
-
Please Dude! U nD Ale Please Stop Copying My Script Styles. nD Body Please Make Your Own New Style. I Have A Request From Stormeus To Remove This. Its A Simple Nd Easy Cmd. Lol
Kinda funny, But it's not others copying yours, it's you're copying others.
Off topic: Please dude, stop writing every simple word from the big letter.
-
256 cell for the string? Are you serious?
This is pretty much an incomplete duel system as players will have to keep typing "!duel" to re-enter when you should make them auto join the duel on spawn until the type the "!exit" command.
-
Yeah! Mine is better than you. It also have auto spawn at duel until dont use cmd !exit
-
Please do not flag stuff as "[NEW]", as it's not going to be new in a few weeks.