Symbol is never used problem
#1

Hello, I've scripted a function, to make a checkpoint and a 3d text label in same time, before using the function there are no warnings, but when I used the function at OnGameModeInit, I got two warnings!

PHP код:
stock CreateDynamicCPLabel(DynamicCPText3D:textlabelthetext[100], thecolorFloat:xFloat:yFloat:zFloat:sizeworldidinterioridplayeridFloat:streamdistancethetestlos)
{
    
DynamicCP CreateDynamicCP(xyzsizeworldidinterioridplayeridstreamdistance);
    
textlabel CreateDynamic3DTextLabel(thetextthecolorxyzstreamdistanceINVALID_PLAYER_IDINVALID_VEHICLE_IDthetestlosworldidinterioridplayeridstreamdistance);
    return 
1;

Код:
C:\Program Files\MyServer\pawno\include\required/stocks.inc(428) : warning 204: symbol is assigned a value that is never used: "textlabel"
C:\Program Files\MyServer\pawno\include\required/stocks.inc(427) : warning 204: symbol is assigned a value that is never used: "DynamicCP"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Warnings.
Reply


Messages In This Thread
Symbol is never used problem - by E7mad - 11.02.2016, 12:02
Re: Symbol is never used problem - by Godey - 11.02.2016, 12:12
Re: Symbol is never used problem - by PrO.GameR - 11.02.2016, 13:23
Re: Symbol is never used problem - by K0P - 11.02.2016, 13:35

Forum Jump:


Users browsing this thread: 1 Guest(s)