Tag Mismatch
#1

Hello, I have tag mismatch in these lines.
pawn Код:
DeathPosX[playerid] = X;
    DeathPosY[playerid] = Y;
    DeathPosZ[playerid] = Z;
No errors, only warnings, and everything is defined. Any help ?
Reply
#2

wanna show a bit more? like the getplayerpos, and the floats
Reply
#3

Quote:
Originally Posted by Hal
Посмотреть сообщение
wanna show a bit more? like the getplayerpos, and the floats
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    new Float:X, Float:Y, Float:Z;
    GetPlayerPos(playerid, X, Y, Z);
    DeathPosX[playerid] = X;
    DeathPosY[playerid] = Y;
    DeathPosZ[playerid] = Z;
    IsDead[playerid] = 1;
    return 1;
}
Reply
#4

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    new Float:pX, Float:pY, Float:pZ;
    GetPlayerPos(playerid, pX, pY, pZ);
    DeathPosX[playerid] = pX;
    DeathPosY[playerid] = pY;
    DeathPosZ[playerid] = pZ;
    IsDead[playerid] = 1;
    return 1;
}
I've had similar problems when using XYZ
Reply
#5

Quote:
Originally Posted by _rAped
Посмотреть сообщение
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    new Float:pX, Float:pY, Float:pZ;
    GetPlayerPos(playerid, pX, pY, pZ);
    DeathPosX[playerid] = pX;
    DeathPosY[playerid] = pY;
    DeathPosZ[playerid] = pZ;
    IsDead[playerid] = 1;
    return 1;
}
I've had similar problems when using XYZ
Their still there, tag missmatch.
Reply
#6

pawn Код:
Float:DeathPosX[MAX_PLAYERS]
..

Probly forgot that.
Reply
#7

Quote:
Originally Posted by [L3th4l]
Посмотреть сообщение
pawn Код:
Float:DeathPosX[MAX_PLAYERS]
..

Probly forgot that.
Amazing :O Your a genious why the fuck I didn't think of that Thank you , solved.
Reply
#8

Quote:
Originally Posted by admantis
Посмотреть сообщение
Amazing :O Your a genious why the fuck I didn't think of that Thank you , solved.
Oh lols.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)