13.09.2011, 19:41
Here is the code:
The errors are:
pawn Код:
static const stock gTree_models[] =
{
700 //Small Tree
701 //Small Thick Bush
702 //Small Thin Bush
703 //Big Tree with lots of Bushes Surrounding
704 //Big Tree
705 //Big Tree with some Bushes Surrounding
706 //Gigantic Tree with some Bushes Surrounding
707 //Big Tree with some Bushes Surrounding
708 //Big Tree with some Bushes Surrounding
709 //MASSIVE Tree with some bushes
710 //Palm Tree
711 //Short Palm Tree
712 //Short&Thick Coconut Tree
713 //Medium Tree
714 //Gigantic Tree
715 //Huge Tree
716 //Palm Tree on a Stand
717 //Small Tree on a Stand
718 //Big Palm Tree on a Stand
719 //Huge Tree
720 //Huge Tree
721 //Massive Tree
722 //Gigantic Tree
723 //Big Tree
724 //Biggest Tree(I found so far)
725 //Huge Tree
};
stock RemoveTrees(playerid)
{
for(new i; i < sizeof(gTree_Models); ++i)
{
RemoveBuildingForPlayer(playerid, gTree_Models[i], 0.0, 0.0, 0.0, 6000.0);
}
}
pawn Код:
C:\Users\asd\Downloads\SAMP 0.3d\samp03dsvr_RC1_win32\gamemodes\project.pwn(43) : error 001: expected token: ";", but found "-integer value-"
C:\Users\asd\Downloads\SAMP 0.3d\samp03dsvr_RC1_win32\gamemodes\project.pwn(68) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.