PAWN Error/Warning codes
#10

219 means you have a new variable defined that is defined at a preceding level.
For Example:
pawn Код:
new string[128];

public OnPlayerCommandText(playerid, cmdtext[])
{
     new string[128];
     if(!strcmp(cmdtext, "/msg", true))
     {
          format(string, sizeof(string), "%i", 42);
          SendClientMessage(playerid, COLOR_GREEN, string);
      }
}
or having it defined in 2 levels of a command or other fxn:
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
   new string[128];
   if(!strcmp(cmdtext, "/msg", true))
  {
     new string[128];
     format(string, sizeof(string).......... //You get the rest
Reply


Messages In This Thread
PAWN Error/Warning codes - by DVDK - 24.10.2010, 15:11
Re: PAWN Error/Warning codes - by ••• ĤБĶБM ••• - 24.10.2010, 15:17
Re: PAWN Error/Warning codes - by DarrenReeder - 24.10.2010, 15:26
Re: PAWN Error/Warning codes - by iJumbo - 24.10.2010, 15:40
Re: PAWN Error/Warning codes - by DVDK - 25.10.2010, 10:44
Re: PAWN Error/Warning codes - by LarzI - 25.10.2010, 11:55
Re: PAWN Error/Warning codes - by DVDK - 25.10.2010, 12:08
Re: PAWN Error/Warning codes - by LarzI - 25.10.2010, 12:31
Re: PAWN Error/Warning codes - by DVDK - 25.10.2010, 22:09
Re: PAWN Error/Warning codes - by randomkid88 - 26.10.2010, 01:54
Re: PAWN Error/Warning codes - by Luis- - 26.10.2010, 02:05
Re: PAWN Error/Warning codes - by Scenario - 26.10.2010, 02:16
Re: PAWN Error/Warning codes - by DVDK - 28.10.2010, 17:09
Re: PAWN Error/Warning codes - by DVDK - 02.12.2010, 21:18
Re: PAWN Error/Warning codes - by alexandrusava93 - 24.09.2012, 20:32
Re: PAWN Error/Warning codes - by stefanescu - 05.01.2013, 15:46
Re: PAWN Error/Warning codes - by Affan - 05.01.2013, 17:26
Re: PAWN Error/Warning codes - by marcos19952 - 07.01.2013, 15:38
Re: PAWN Error/Warning codes - by Onepind - 05.09.2014, 23:28
Re: PAWN Error/Warning codes - by krstecd - 13.10.2014, 16:42

Forum Jump:


Users browsing this thread: 1 Guest(s)