02.10.2009, 16:44
First, I want to ask, HOW THE F*CK can It cause errors on a line that's thousands of lines away where I'm scripting? :S
When It worked just fine before? :O
SendMessageToLawEnf();
Gives error error 017: undefined symbol "SendMessageToLawEnf".
Everywhere that code goes, until line 2700~, then there's no errors anymore,
even though there's loads of lines using that under.
And I wasn't even working NEAR neither that or the code below,
wich is called by the code above.
It have worked fine, until I added a few cars -_-
When It worked just fine before? :O
SendMessageToLawEnf();
pawn Код:
SendMessageToLawEnf(string);
Everywhere that code goes, until line 2700~, then there's no errors anymore,
even though there's loads of lines using that under.
And I wasn't even working NEAR neither that or the code below,
wich is called by the code above.
It have worked fine, until I added a few cars -_-
pawn Код:
SendMessageToLawEnf(const str[])
{
for (new i = 0; i < MAX_PLAYERS; i++)
{
if (IsPlayerConnected(i)) {
if (gteam[i]==Team_LSPD || gteam[i]==Team_Admin) {
SendClientMessage(i, COLOR_BLUE, str);
}
}
}
}