[Help]10 Tag Mismatch
#1

Why Happend This

Код:
D:\Edy\GTA San Andreas\Servere\New Sa-Mp Server\gamemodes\cs_gm.pwn(39) : warning 213: tag mismatch
D:\Edy\GTA San Andreas\Servere\New Sa-Mp Server\gamemodes\cs_gm.pwn(40) : warning 213: tag mismatch
D:\Edy\GTA San Andreas\Servere\New Sa-Mp Server\gamemodes\cs_gm.pwn(41) : warning 213: tag mismatch
D:\Edy\GTA San Andreas\Servere\New Sa-Mp Server\gamemodes\cs_gm.pwn(42) : warning 213: tag mismatch
D:\Edy\GTA San Andreas\Servere\New Sa-Mp Server\gamemodes\cs_gm.pwn(43) : warning 213: tag mismatch
D:\Edy\GTA San Andreas\Servere\New Sa-Mp Server\gamemodes\cs_gm.pwn(44) : warning 213: tag mismatch
D:\Edy\GTA San Andreas\Servere\New Sa-Mp Server\gamemodes\cs_gm.pwn(45) : warning 213: tag mismatch
D:\Edy\GTA San Andreas\Servere\New Sa-Mp Server\gamemodes\cs_gm.pwn(46) : warning 213: tag mismatch
D:\Edy\GTA San Andreas\Servere\New Sa-Mp Server\gamemodes\cs_gm.pwn(47) : warning 213: tag mismatch
D:\Edy\GTA San Andreas\Servere\New Sa-Mp Server\gamemodes\cs_gm.pwn(233) : warning 213: tag mismatch
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


10 Warnings.
Код:
new Float:Kmoney[][1] =
{//Money Amount
{800},
{850},
{900},
{950},
{1000},
{1050},
{1100},
{1150},
{1200}
};
The lines
Код:
public OnPlayerDeath(playerid, killerid, reason)
{
new rndtkmoney = random(sizeof(Kmoney));

GivePlayerMoney(killerid, Kmoney[rndtkmoney][0]);
return 1;
}
i don't see nothing strange....so ask you please help
Advise Thanks

P.S Sorry My Bad English I Am ROMANIAN
Reply
#2

GivePlayerMoney(killerid, rndtkmoney);

?
Reply
#3

Quote:
Originally Posted by Kar
Посмотреть сообщение
GivePlayerMoney(killerid, rndtkmoney);

?
it work a lil a bit now this

Код:
D:\Edy\GTA San Andreas\Servere\New Sa-Mp Server\gamemodes\cs_gm.pwn(633) : warning 203: symbol is never used: "Kmoney"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
and if remove
Код:
new rndtkmoney = random(sizeof(Kmoney));
It's Happen This
Код:
D:\Edy\GTA San Andreas\Servere\New Sa-Mp Server\gamemodes\cs_gm.pwn(231) : error 017: undefined symbol "rndtkmoney"
D:\Edy\GTA San Andreas\Servere\New Sa-Mp Server\gamemodes\cs_gm.pwn(631) : warning 203: symbol is never used: "Kmoney"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply
#4

why is it defined as Float:kmoney thats not a float?( i think>?)
Reply
#5

yeap thanks man
Reply
#6

np. Just Bored and Helping Out People
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)