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)
+--- Thread: Tag mismatch (
/showthread.php?tid=525426)
Tag mismatch -
FaZeRs - 11.07.2014
I got error in pawno - Tag mismatch
Code
Quote:
stock OwnBusiness(playerid)
{
if(PlayerInfo[playerid][pBizKey] != -1 && !strcmp(GetPlayersName(playerid), BizInfo[PlayerInfo[playerid][pBizKey]][Owner]))
return true;
return false;
}
|
Re: Tag mismatch -
kamiliuxliuxliux - 11.07.2014
Try stock bool:OwnBusiness(playerid)
Re: Tag mismatch -
FaZeRs - 11.07.2014
Still the same
Re: Tag mismatch -
austin070 - 11.07.2014
Take the return false out
Re : Tag mismatch -
mirou123 - 11.07.2014
Make sure pBizKey exists in PlayerInfo and Owner in BizInfo. And do not take the return false out. You will get a warning saying that function should return a value.
Re: Re : Tag mismatch -
[KHK]Khalid - 12.07.2014
~Delete.
Respuesta: Tag mismatch -
angelxeneize - 12.07.2014
post exactly error send and numbers lines to code
Re: Tag mismatch -
kamiliuxliuxliux - 12.07.2014
Or return 1 instead of true and 0 instead of false.