SA-MP Forums Archive
Minigame errors - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Minigame errors (/showthread.php?tid=209074)



Minigame errors - [WSF]ThA_Devil - 09.01.2011

i got some errors but i have all defined ?
Код:
 warning 219: local variable "usedbrick" shadows a variable at a preceding level
warning 219: local variable "brick" shadows a variable at a preceding level
error 010: invalid function or declaration
 symbol already defined: "OnBrickFalls"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
pawn Код:
public UsedBrick(usedbrick[],brick[]){
if(usedbrick[1] == 0)
usedbrick[1] = 1;
MoveDynamicObject(brick[1],2158.6352539063, -3172.4780273438, -60, 6.0);
}
if(usedbrick[1] == 1)
OnBrickFalls();
}
i dont know... what is wrong> but i get erros