11.12.2011, 17:06
(
Последний раз редактировалось PHudson; 11.12.2011 в 18:01.
)
Hi all:
I'm trying to compile my script, but I get this errors:
Line 75 is here:
pDuty is defined here:
I have tried to fix it by myself. I have done this tasks, but I can't compile it:
I'm trying to compile my script, but I get this errors:
Код:
emergency.pwn(75) : error 017: undefined symbol "pDuty" emergency.pwn(75) : warning 215: expression has no effect emergency.pwn(75) : error 001: expected token: ";", but found "]" emergency.pwn(75) : error 029: invalid expression, assumed zero emergency.pwn(75) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
pawn Код:
public OnPlayerConnect(playerid) // LINE 73
{ // LINE 74
pDuty[playerid] = 0; // LINE 75
pPosesion[playerid] = 0; // LINE 76
return 1; // LINE 77
} // LINE 78
pawn Код:
#include <a_samp>
#pragma tabsize 0
#if defined FILTERSCRIPT
new pDuty[MAX_PLAYERS]; // LINE 8
new pPosesion[MAX_PLAYERS];
forward IsAtWork(playerid);
- Placing "news" and "forwards" in other parts of the script.
- Writing "static" instead of "new".
- Replacing "[playerid]" and "[MAX_PLAYERS]" for "(playerid)" and "(MAX_PLAYERS)".
- Commenting the error line -> I got another error in the next uncommented variable: pPosesion. I commented this one too, but I got the same error in the next one.
