31.08.2010, 20:48
Сделал чтоб мой значёк на радаре мигал при вводе команды.
Вот как я сделал незнаю правильно ли, даёт ошибки:
new bljad[MAX_PLAYERS];
new countxxx;
new truecolor;
[code]OnPlayerConnect:[code]
bljad[playerid] = -1;
OnGameModeInit:
Вот как я сделал незнаю правильно ли, даёт ошибки:
new bljad[MAX_PLAYERS];
new countxxx;
new truecolor;
[code]OnPlayerConnect:[code]
bljad[playerid] = -1;
OnGameModeInit:
Code:
countxxx = 0;
Code:
if (strcmp("/1", cmdtext, true, 10) == 0) { bljad[playerid] = 1; SetTimerEx("nutiibljad", 1000, true, "i", playerid); GetPlayerColor(playerid, truecolor); return 1; }
Code:
forward nutiibljad(playerid); public nutiibljad(playerid) { counxxxt++; if(count % 2 == 0) { SetPlayerColor(playerid, truecolor); } else { SetPlayerColor(playerid, 0xFFFF00AA); } }
Code:
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.