what's wrong with this Command?
#1

Hi , i want to creat a Gate with Command only for A Team the name of it "UC" so , this is the command:

pawn Код:
CMD:uco(playerid, params[])
{
if(gTeam[playerid] == TEAM_UC)
      {
    MoveObject(ucgate, -9.41607475,1206.59936523,23.55257988, 2.0);
    SendClientMessage(playerid, 0xFFFFFF, "You Take Your Remote Console And Open The Gate...");
      }
      else
      {
      SendClientMessage(playerid, 0xAA3333AA, "You Must be U.C to Use this Gate !");
      }
    return 1;
}
so i have defined the Teams and all Working , but whene i go IG and i choose UC skin and use /uco it says:
"You Must be U.C to Use this Gate !"

BTW i have all Defined
pawn Код:
if(classid == 4)
    {
        gTeam[playerid] = TEAM_UC;
    }
    if(classid == 5)
    {
        gTeam[playerid] = TEAM_UC;
    }
Need Help...
Reply


Messages In This Thread
what's wrong with this Command? - by ServerScripter - 02.09.2011, 21:03
Re: what's wrong with this Command? - by Kingunit - 02.09.2011, 21:05
Re: what's wrong with this Command? - by ServerScripter - 02.09.2011, 21:07
Re: what's wrong with this Command? - by Kingunit - 02.09.2011, 21:09
Re: what's wrong with this Command? - by Davz*|*Criss - 02.09.2011, 21:58

Forum Jump:


Users browsing this thread: 1 Guest(s)