Tag mismatch
#1

pawn Код:
enum E_PLAYER_DATA
{
    age,
    ictut,
    origin,
    money,
    skin,
    adminlevel,
    paycheck,
    Float:position_x,
    Float:position_y,
    Float:position_z
};

new
    PlayerInfo                          [E_PLAYER_DATA][MAX_PLAYERS]
;
On the line it claims a mismatch:

pawn Код:
PlayerInfo[position_x][playerid] = -1431.0; PlayerInfo[position_y][playerid] = -284.0; PlayerInfo[position_z][playerid] = -15.0;
Код:
C:\Users\Aleksander.Family-PC\Desktop\samp03dsvr_R2_win32\gamemodes\rp.pwn(176) : warning 213: tag mismatch
Reply
#2

Must be
new PlayerInfo[MAX_PLAYERS][E_PLAYER_DATA];
Reply
#3

Thanks mate, repped.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)