GetPVarFloat tag mismatch.
#1

I made this stock but everytime I use it, it shows me tagmismatch error.

pawn Код:
stock GetFloatVar(playerid, varname[])
{
    return GetPVarFloat(playerid, varname);
}
For example I made this command:

pawn Код:
CMD:gotomark(playerid, params[])
{
    if(!CheckAdmin(playerid, ADMIN_LEVEL_2)) return NotAuthMSG(playerid);
    if(GetIntVar(playerid, "MarkedSpot") == 0) return SCM(playerid, -1, "You haven't marked any spot yet. '/mark'");
    SetWorld(playerid, GetIntVar(playerid, "MarkWorld"));
    SetInterior(playerid, GetIntVar(playerid, "MarkInterior"));
    PutPlayer(playerid, GetFloatVar(playerid, "MarkX"), GetFloatVar(playerid, "MarkY"), GetFloatVar(playerid, "MarkZ"));
    SCM(playerid, -1, "You have been teleported to your last mark spot.");
    return 1;
}
Reply


Messages In This Thread
GetPVarFloat tag mismatch. - by PaulDinam - 18.02.2013, 13:06
Re: GetPVarFloat tag mismatch. - by LarzI - 18.02.2013, 13:07
Re: GetPVarFloat tag mismatch. - by Mean - 18.02.2013, 13:08
Re: GetPVarFloat tag mismatch. - by PaulDinam - 18.02.2013, 13:09

Forum Jump:


Users browsing this thread: 1 Guest(s)