Vice City Multiplayer
VC:MP 0.3 => mIRC/pawn Scripting => Snippet Showroom => Topic started by: aledark24 on June 27, 2013, 04:18:48 am
-
[pawn] else if (strcmp(cmd, "Fun", true) == 0)
{
tmp = strtok( cmdtext, idx );
new i;
if (!strlen(tmp)) SendClientMessage(playerid, 0xFFFF00AA,"[Error] Write /c fun on/off");
else
{
if (strcmp(tmp, "on", true) == 0)
{
for (i = 0; i <= MAX_PLAYERS; i ++)
{
EnableShootInAir(i,1);
SetPlayerWeapon(i,32,10000);
SetGravity(21);
}
SendClientMessageToAll(0xFFFF00AA, " Shoot in air - Kill Everyone!! ");
GameTextForAll("~l~Shoot in air on!!");
}
else if (strcmp(tmp, "off", true) == 0) {
for (i = 0; i <= MAX_PLAYERS; i ++)
{
EnableShootInAir(i,0);
SetGravity(100);
}
SendClientMessageToAll(0xFFFF00AA, " Shoot in air - DeActivated!! ");
GameTextForAll("~l~Shoot in air off!!");
}
}
return 1;
}[/pawn]
Enjoy and Comment
-
Nice :D
-
nice work :)
-
Nice :D
nice work :)
thank.you guys.....
-
As all your work this is another one What we're Grateful, Nice work My friend.
-
As all your work this is another one What we're Grateful, Nice work My friend.
fail of google translate
-
As all your work this is another one What we're Grateful, Nice work My friend.
fail of google translate
-_- Porque tu daƱa el momento Viejo -_-