symbol is never used: "tmpobjid1"
#1

symbol is never used: "tmpobjid1"

The line is says is all the way at the bottom of the script on the last line.. All that is there is a }

I am trying to put a textured map in
Reply
#2

Delete
new tmpobjid1;
Reply
#3

Put new tmpobjid1[number of objects];
in top of the map for ex if you added the map on gamemodeinit, put this in top of gamemodeinit

If you have already made the variable there then search for new tmpobjid1 and remove it
Reply
#4

Add this code in your gm or delete tmpobjid1:
Код:
#pragma unused tmpobjid1
Reply
#5

Quote:
Originally Posted by Jastak
Посмотреть сообщение
Add this code in your gm or delete tmpobjid1:
Код:
#pragma unused tmpobjid1
That may void the warning however it is not good programming practice. If you have a variable declared that isn't being used there is no point at all in having it in your gamemode(commenting it out is a good way to void the warning while keeping it later for reference).
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)