09.01.2011, 20:09
i got some errors but i have all defined ?
i dont know... what is wrong> but i get erros
Код:
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();
}