Help please with a command
#1

new bljad[MAX_PLAYERS];
new countxxx;
new truecolor;

[code]OnPlayerConnect:[code]
bljad[playerid] = -1;

OnGameModeInit:
Код:
countxxx = 0;
Код:
if (strcmp("/1", cmdtext, true, 10) == 0)
{
bljad[playerid] = 1;
SetTimerEx("nutiibljad", 1000, true, "i", playerid);
GetPlayerColor(playerid, truecolor);
return 1;
}
Код:
forward nutiibljad(playerid);
public nutiibljad(playerid)
{
counxxxt++;
if(count % 2 == 0)
{
SetPlayerColor(playerid, truecolor);
}
else
{
SetPlayerColor(playerid, 0xFFFF00AA);
}
}
Gives errors:
Код:
C:\DOCUME~1\C5E3~1\0016~1\-!SFGA~1\-!SF_G~1.9!-\9B02~1\SF-GAN~1.PWN(4046) : warning 202: number of arguments does not match definition
C:\DOCUME~1\C5E3~1\0016~1\-!SFGA~1\-!SF_G~1.9!-\9B02~1\SF-GAN~1.PWN(14090) : error 017: undefined symbol "counxxxt"
C:\DOCUME~1\C5E3~1\0016~1\-!SFGA~1\-!SF_G~1.9!-\9B02~1\SF-GAN~1.PWN(14090) : warning 215: expression has no effect
C:\DOCUME~1\C5E3~1\0016~1\-!SFGA~1\-!SF_G~1.9!-\9B02~1\SF-GAN~1.PWN(14091) : error 017: undefined symbol "count"
C:\DOCUME~1\C5E3~1\0016~1\-!SFGA~1\-!SF_G~1.9!-\9B02~1\SF-GAN~1.PWN(1093) : warning 204: symbol is assigned a value that is never used: "countxxx"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
What not so has made?
Reply


Messages In This Thread
Help please with a command - by Roma555 - 31.08.2010, 20:06
Re: Help please with a command - by CyNiC - 31.08.2010, 20:11
Re: Help please with a command - by Roma555 - 31.08.2010, 20:17
Re: Help please with a command - by Mike Garber - 31.08.2010, 20:20
Re: Help please with a command - by Roma555 - 31.08.2010, 20:30
Re: Help please with a command - by Mike Garber - 31.08.2010, 20:35

Forum Jump:


Users browsing this thread: 1 Guest(s)