tag mismatch - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: tag mismatch (
/showthread.php?tid=202337)
tag mismatch -
Pooh7 - 23.12.2010
pawn Код:
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
BombaX[playerid] = X; //warning 213: tag mismatch
BombaY[playerid] = Y; //warning 213: tag mismatch
BombaZ[playerid] = Z; //warning 213: tag mismatch
How to fix warning "tag mismatch"?
Re: tag mismatch -
PowerPC603 - 23.12.2010
Try this:
pawn Код:
new Float:Bomba[MAX_PLAYERS];
Re: tag mismatch -
Gavibro - 24.12.2010
Just:
pawn Код:
GetPlayerPos(playerid, BombaX[playerid] , BombaY[playerid] , BombaZ[playerid] );
And look if var. BombaX-Z is a float( Float:BombaX[MAX_PLAYERS]);