Vice Underdogs

Scripting => Scripting Support => Topic started by: sreeshaji97 on January 12, 2012, 04:39:31 pm

Title: Fight command
Post by: sreeshaji97 on January 12, 2012, 04:39:31 pm
 }
   else if (strcmp(cmd, "!fight2", true) == 0) {
      if(PlayerInfo[playerid][Logged] != 1) SendClientMessage(playerid, COLOR_RED, "You need to login first!");
      else {
         SendClientMessage(playerid,COLOR_YELLOW,">> Welcome To The Fight Zone <<");
            SetPlayerPos(playerid, -1761.425, -144.961, 15.131,0);
            SetPlayerWeapon(playerid,21,60);
            SetPlayerWeapon(playerid,26,60);
            SetPlayerWeapon(playerid,32,60);
      }
      return 1;
Title: Re: Fight command
Post by: Inferno on January 12, 2012, 05:43:33 pm
Whats the problem in it?
Title: Re: Fight command
Post by: Charley on January 12, 2012, 06:37:04 pm
I hereby make an oath that if this scripting board gets full of retards I will wield the ban hammer and unleash a torrent of admin abuse in order to sanctify one of the last remaining safe havens from VC:MP spanners.
Title: Re: Fight command
Post by: Sephiroth on January 12, 2012, 06:39:26 pm
I hereby make an oath that if this scripting board gets full of retards I will wield the ban hammer and unleash a torrent of admin abuse in order to sanctify one of the last remaining safe havens from VC:MP spanners.

sig'd
Title: Re: Fight command
Post by: morphine on January 12, 2012, 08:53:06 pm
looks okay though

return 1; should be before the last bracket, not after it.
Title: Re: Fight command
Post by: Zeke on January 12, 2012, 08:59:38 pm
Lol havent seen a pawn script for a long time, first time i saw it I though it was a squirrel cmd lololol until i saw the "strcmp"

Anyways +1 for Morph post and besides that nothings wrong rly.
Title: Re: Fight command
Post by: Crossfire|OutlawZ on January 13, 2012, 12:08:46 am
There are lotsa problems with it, this is squirrel section :/
Title: Re: Fight command
Post by: sreeshaji97 on January 13, 2012, 11:42:50 am
Outlaw this is not squrriel script.This is pawn . :P
Title: Re: Fight command
Post by: stormeus on January 13, 2012, 11:48:21 am
Do I really need to point out what's wrong here?
Title: Re: Fight command
Post by: sreeshaji97 on January 13, 2012, 11:49:19 am
Yes stormeus .What is from?
Stormeus this is pawn script.and i already checked this command and working 100 %.