Warning [204] Please Help
#1

: warning 204: symbol is assigned a value that is never used: "objectid"
Код:
new objectid,objs,type = GetPVarInt(playerid, "AcessType"), z = GetPVarInt(playerid, "SelectSKIN")-1, price;
 if(type == 1) objs = 7, objectid = floatround(AcessOchki[z][0]), price = floatround(AcessOchki[z][1]);
else if(type == 2) objs = 8, objectid = floatround(AcessKepki[z][0]), price = floatround(AcessKepki[z][1]);
else if(type == 3) objs = 8, objectid = floatround(AcessShapki[z][0]), price = floatround(AcessShapki[z][1]); else if(type == 4) objs = 9, objectid = floatround(AcessMaski[z][0]), price = floatround(AcessMaski[z][1]);
 if(response)
 {
Reply
#2

The variable objectid wasn't use somewhere.
Reply
#3

Well you're obviously not using objectid n a function you're just defining the variable. Either use it or #pragma unused objectid
Reply
#4

Okey thanks
Reply
#5

Use the variable or delete it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)