CMD error
#1

I get this ERROR:

Код:
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.
For this code:
Код:
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;
}
Reply


Messages In This Thread
CMD error - by MrCallum - 13.04.2014, 20:05
Re: CMD error - by iRaiDeN - 13.04.2014, 20:13
Re: CMD error - by MrCallum - 13.04.2014, 20:15
Re: CMD error - by Konstantinos - 13.04.2014, 20:16
Re: CMD error - by MrCallum - 13.04.2014, 20:19
Re: CMD error - by iRaiDeN - 13.04.2014, 20:19

Forum Jump:


Users browsing this thread: 1 Guest(s)