SA-MP Forums Archive
Pawno Error - 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: Pawno Error (/showthread.php?tid=389772)



Pawno Error - Morkano - 03.11.2012

Quote:

D:\Server\pawno\Script.pwn(116) : warning 213: tag mismatch
D:\Server\pawno\Script.pwn(120) : warning 209: function "OnPlayerCommandText" should return a value
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Warnings.

Plz help me


Re: Pawno Error - DBan - 03.11.2012

You didn't return anything with OnPlayerCommandText

Ex:
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    return 1;
}
As for the tag mismatch, you need to show us that specific line in order for use to help you.


Re: Pawno Error - HarryPotter - 03.11.2012

Show us the lines please.