Warning 213: tag mismatch ! Help me Pls
#1

Quote:

F:\testgamemode.pwn(116161) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Warning.

Quote:

stock SaveFish()
{
new File = ini_openFile("FishSaving.ini");
if(!File)
{
ini_setInteger(File,"Total Fish",sclad);
ini_closeFile(File);
}
return 1;
}

I got Warning 213 : tag mismatch on the line 116161 anyone can help me pls

Here it's line 116161

Quote:

ini_setInteger(File,"Total Fish",sclad);

Reply
#2

Try taking out "sclad". See if that fixes it.
Reply
#3

Here
Quote:

new Text3Dclad;
sclad = Create3DTextLabel("{FF4500}Kho Ca{FFFF00}Total Fish is 0",0x008080FF,-1446.2750,-2382.4504,18.7016,20.0,0);

Reply
#4

Why are you trying to save the 3D label ID? You want to save the "total fishes".
Reply
#5

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
Why are you trying to save the 3D label ID? You want to save the "total fishes".
i want to save total fishes then i got fish. For Fishing Job deliver ! =="
Reply
#6

Okay but you won't get the total fishes by the 3D label ID. It's useless for your case (it's just an ID so you can remove or edit the 3D label by knowing its ID) and you should store the total fishes to an array for each player - that's what you should use to save it.
Reply
#7

i got that. Thanks you Konsantinos for your say. Save 3dLabel for what ^^ im fixed my problem + Rep for you Thanks for your help ^^!
Reply
#8

Ah i got a question, how i can callback "total fish" form totalfish.ini file ? And how to do that can you help me again i don't understand.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)