Help?? - 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)
+--- Thread: Help?? (
/showthread.php?tid=613064)
Help?? -
Micko123 - 24.07.2016
I am following this tutorial
https://sampforum.blast.hk/showthread.php?tid=336052
and i im stuck at ProxDetector. I made stocks and everything is fine. But when i add this
PHP код:
public OnPlayerText(playerid, text[])
{
new message[128];
format(message, sizeof(message), "%s kaze: %s", GetName(playerid), text);
ProxDetector(30.0, playerid, message, -1);
return 1;
}
I get these
Код:
C:\Users\Admin\Desktop\HueHue\gamemodes\modeeee.pwn(107) : warning 213: tag mismatch
C:\Users\Admin\Desktop\HueHue\gamemodes\modeeee.pwn(177) : warning 213: tag mismatch
C:\Users\Admin\Desktop\HueHue\gamemodes\modeeee.pwn(180) : warning 213: tag mismatch
C:\Users\Admin\Desktop\HueHue\gamemodes\modeeee.pwn(180) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Warnings.
These are the lines
PHP код:
ProxDetector(30.0, playerid, message, -1); //107
GPP(playerid, x, y, z); //177
if(IsPlayerInRangeOfPoint(i, radi, x, y, z)) //180
What can i do??
EDIT: FIXED
Re: Help?? -
Iqba - 24.07.2016
213: tag mismatch
A tag mismatch occurs when:
Код:
-Assigning to a tagged variable a value that is untagged or that has a different tag
-The expressions on either side of a binary operator have different tags
-In a function call, passing an argument that is untagged or that has a different tag than what the function argument was defined with
-Indexing an array which requires a tagged index with no tag or a wrong tag name
-Usually happen on a new variable created with missing tag on the required function such as Float:, Text3D:
from wiki.. btw
http://lmgtfy.com/?q=samp+errors+list+samp+wiki