Help??
#1

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(playeridtext[])
{
    new 
message[128];
    
format(messagesizeof(message), "%s kaze: %s"GetName(playerid), text);
    
ProxDetector(30.0playeridmessage, -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.0playeridmessage, -1); //107
GPP(playeridxyz); //177
if(IsPlayerInRangeOfPoint(iradixyz)) //180 
What can i do??

EDIT: FIXED
Reply
#2

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)