31.12.2015, 13:43
Help Guys help in Road block please
PHP код:
CMD:roadblock(playerid, params[])
{
new Float:X,Float:Y,Float:Z,Float:A;
GetPlayerPos(playerid,X,Y,Z);
GetPlayerFacingAngle(playerid,A);
roadblock = CreateObject(981,X,Y-1,Z-0.3,0,0,0);
return 1;
}
CMD:drb(playerid, params[])
DestroyObject(roadblock);
return 1;
}
Код:
E:\DynamicGateSystem\bb_freeroam.pwn(22550) : error 017: undefined symbol "roadblock" E:\DynamicGateSystem\bb_freeroam.pwn(22555) : error 017: undefined symbol "roadblock" E:\DynamicGateSystem\bb_freeroam.pwn(22556) : error 010: invalid function or declaration E:\DynamicGateSystem\bb_freeroam.pwn(1283) : warning 204: symbol is assigned a value that is never used: "Fired" E:\DynamicGateSystem\bb_freeroam.pwn(1283 -- 28315) : warning 203: symbol is never used: "bandanatext" E:\DynamicGateSystem\bb_freeroam.pwn(1283 -- 28315) : warning 203: symbol is never used: "captext" E:\DynamicGateSystem\bb_freeroam.pwn(1283 -- 28315) : warning 203: symbol is never used: "glassestext" E:\DynamicGateSystem\bb_freeroam.pwn(1283 -- 28315) : warning 203: symbol is never used: "hattext" E:\DynamicGateSystem\bb_freeroam.pwn(1283 -- 28315) : warning 203: symbol is never used: "helmettext" E:\DynamicGateSystem\bb_freeroam.pwn(1283 -- 28315) : warning 203: symbol is never used: "masktext" E:\DynamicGateSystem\bb_freeroam.pwn(1283 -- 28315) : warning 203: symbol is never used: "watchtext" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 3 Errors.