ERROR: TAG MISMATCHED - 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: ERROR: TAG MISMATCHED (
/showthread.php?tid=426933)
ERROR: TAG MISMATCHED -
Danyal - 30.03.2013
pawn Код:
public REPAIRSHOP(playerid)
{
AddRepairShop(playerid, 2.85,2032.47, 1418.05, 9.82); //---- LINE 44
return true;
}
stock AddRepairShop(playerid, Float:Range, Float:XY, Float:YY, FloatZY)
{
new vehicleid = GetPlayerVehicleID(playerid);
if(IsPlayerInRangeOfPoint(playerid, Float:Range, Float:XY, Float:YY, FloatZY))
{
// MY CODE HERE
return true;
}
return true;
}
Код:
(44) : warning 213: tag mismatch
Re: ERROR: TAG MISMATCHED -
MrTinder - 30.03.2013
try to make it return 1;
Re: ERROR: TAG MISMATCHED - Patrick - 30.03.2013
Here you go
pawn Код:
public REPAIRSHOP(playerid)
{
AddRepairShop(playerid, 2.85,2032.47, 1418.05, 9.82); //---- LINE 44
return true;
}
stock AddRepairShop(playerid, Float:Range, Float:XY, Float:YY, Float:ZY)
{
new vehicleid = GetPlayerVehicleID(playerid);
if(IsPlayerInRangeOfPoint(playerid, Float:Range, Float:XY, Float:YY, Float:ZY))
{
// MY CODE HERE
return true;
}
return true;
}
ERROR Code
FloatZY you forgot to put : between t and Z.
Wrong
Right
Re: ERROR: TAG MISMATCHED -
Danyal - 30.03.2013
:/
/faceaplam btw +REP