13.04.2014, 20:05
I get this ERROR:
For this code:
Код:
C:\Users\Gamer\Desktop\PLA\gamemodes\BlackCityRoleplay.pwn(129445) : warning 204: symbol is assigned a value that is never used: "Distance" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
Код:
CMD:addcrane(playerid, params[]) { new Float:X, Float:Y, Float:Z, Float:Distance = 5.0; THIS IS LINE 129445 GetPlayerPos(playerid, X, Y, Z); CraneObject = CreateDynamicObject(1378, X, Y, Z, 0.00, 0.00, 0.00, -1, -1, -1, 300.0); SendClientMessage(playerid, COLOR_GREEN, "Crane Deployed"); EditObject(playerid, CraneObject); return 1; } CMD:destroycrane(playerid, params[]) { DestroyDynamicObject(CraneObject); SendClientMessage(playerid, COLOR_GREEN, "Crane Destroyed"); return 1; }