15.11.2010, 19:53
Quote:
Looks like we both forgot to target who is going to get those values
Like pawn Код:
|
pawn Код:
SER0~1.3\GAMEMO~1\ARS.pwn(463) : warning 213: tag mismatch
SER0~1.3\GAMEMO~1\ARS.pwn(464) : warning 213: tag mismatch
SER0~1.3\GAMEMO~1\ARS.pwn(465) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Warnings.
pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
new name[MAX_PLAYER_NAME], file[256];
GetPlayerName(playerid, name, sizeof(name));
format(file, sizeof(file), ARS_SERVERFILES, name);
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X,Y,Z);
printf("The player left when he was at %f,%f,%f.", X,Y,Z);
PlayerInfo[playerid][pLocX] = X;
PlayerInfo[playerid][pLocY] = Y;
PlayerInfo[playerid][pLocZ] = Z;