Warning 299: index tag mismatch -> Please help me out!
#1

Well, i have been on this for a while now, And I can't seem to get it fixed. I'm creating a mailbox system, and this one uses 3d Text labels to display the owner name, now, I made the ability of moving them(by an admin command), Now as there is no way of moving a 3Dtext-label (or is there any?). I just remove the txt label, and recreate it at the position, now ofcourse I have to check the owner name, and thats where it goes wrong, please help me out!

Code :

Enum where Owner is in.
Код:
enum MAIL_BOX{
 bool:Owned,
 Owner[MAX_PLAYER_NAME],
 Messages
}
new gMAIL_BOX[MAX_MAILBOXES][MAIL_BOX];
Код:
new name1[MAX_PLAYER_NAME], string[128];
GetPlayerName(player, name1, sizeof(name1)
gMAIL_BOX[boxid][Owner] = name1;
Line where I get the error from :
Код:
owner[MAX_PLAYER_NAME];
owner = gMAIL_BOX[boxid][Owner];
Reply


Messages In This Thread
Warning 299: index tag mismatch -> Please help me out! - by JamesS - 20.02.2013, 17:27
Re: Warning 299: index tag mismatch -> Please help me out! - by Jefff - 20.02.2013, 17:46
Re: Warning 299: index tag mismatch -> Please help me out! - by JamesS - 20.02.2013, 17:54

Forum Jump:


Users browsing this thread: 2 Guest(s)