[HELP]Warnings - 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: [HELP]Warnings (
/showthread.php?tid=133059)
[HELP]Warnings -
[WF]Demon - 10.03.2010
Hi im creating a /stuck command and i get this when compiling
Код:
C:\Users\Windows Vista\sampserver\gamemodes\Cranked.pwn(710) : warning 213: tag mismatch
C:\Users\Windows Vista\sampserver\gamemodes\Cranked.pwn(710) : warning 213: tag mismatch
C:\Users\Windows Vista\sampserver\gamemodes\Cranked.pwn(710) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
3 Warnings.
that line (710) is
Код:
GetPlayerPos(playerid, stuckx, stucky, stuckz);
and the whole command is
Код:
if(strcmp(cmdtext, "/stuck", true) == 0)
{
new stuckx, stucky, stuckz;
GetPlayerPos(playerid, stuckx, stucky, stuckz);
SetPlayerPos(playerid, stuckx, stucky, stuckz+5);
TogglePlayerControllable(playerid, 1);
return 1;
}
anyone know why this is happening?
Re: [HELP]Warnings -
aircombat - 10.03.2010
new stuckx, stucky, stuckz;
should be :
new Float

tuckx;
new Float

tucky;
new Float

tuckz;