19.02.2012, 21:43
This is when you get indentation warnings:
If the lines doesn't start with the proper tab.
To fix it:
Option 1:
Option 2:
So, fix the tabs of your warning lines.
---
And to fix: "local variable "Some Name" shadows a variable at a preceding level
You have to rename "idcar" of the other part to "idcar2" in your case.
You better show us the part of code.
pawn Код:
public MyCallback()
{
SendClientMessage(playerid, -1, "...");
printf("...");
Function();
return 1;
}
To fix it:
Option 1:
pawn Код:
//Add this to the top of the script:
#pragma tabsize 0
pawn Код:
//Get everything in correct tabs:
public MyCallback()
{
SendClientMessage(playerid, -1, "...");
printf("...");
Function();
return 1;
}
---
And to fix: "local variable "Some Name" shadows a variable at a preceding level
You have to rename "idcar" of the other part to "idcar2" in your case.
You better show us the part of code.