Please, help!
#1

Hi, guys!
Well, I am changing my commands to zcmd and I have one problem. What should I do whit this one?

pawn Код:
CMD:s(playerid, params[])
{
      if(cmdtext[2]==0){SendClientMessage(playerid,0x00FF00AA, "* Naudojimas: {347C17}/s [tekstas]"); return 1;}
      new zin[256],vardas[MAX_PLAYER_NAME];
      GetPlayerName(playerid,vardas,MAX_PLAYER_NAME);
      format(zin,sizeof(zin),"{66ff33}Adminas {66ff33}%s: {66ff33}%s",vardas,cmdtext[3]);
      SendClientMessageToAll(0x00DAECAA,zin);
      return 1;
  }
After I compline, I got these errors:
pawn Код:
D:\GTASA~1\ghjhj\GAMEMO~1\band7.pwn(17597) : error 017: undefined symbol "cmdtext"
D:\GTASA~1\ghjhj\GAMEMO~1\band7.pwn(17597) : warning 215: expression has no effect
D:\GTASA~1\ghjhj\GAMEMO~1\band7.pwn(17597) : error 001: expected token: ";", but found "]"
D:\GTASA~1\ghjhj\GAMEMO~1\band7.pwn(17597) : error 029: invalid expression, assumed zero
D:\GTASA~1\ghjhj\GAMEMO~1\band7.pwn(17597) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
What should I do? Help, please
Reply


Messages In This Thread
Please, help! - by Setkus - 05.01.2012, 21:20
Re: Please, help! - by [HiC]TheKiller - 05.01.2012, 21:22
Re: Please, help! - by Setkus - 05.01.2012, 21:35
Re: Please, help! - by [HiC]TheKiller - 05.01.2012, 21:39
Re: Please, help! - by Setkus - 05.01.2012, 21:42
Re: Please, help! - by Setkus - 05.01.2012, 22:07
Re: Please, help! - by gamer931215 - 05.01.2012, 22:13
Re: Please, help! - by Setkus - 06.01.2012, 08:56
Re: Please, help! - by Konstantinos - 06.01.2012, 10:34

Forum Jump:


Users browsing this thread: 1 Guest(s)