ERROR: TAG MISMATCHED
#1

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
Reply
#2

try to make it return 1;
Reply
#3

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
pawn Код:
FloatZY
Right
pawn Код:
Float:ZY
Reply
#4

:/

/faceaplam btw +REP
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)