SA-MP Forums Archive
[Ajuda] DOF2_SetInt(PlayersB(playerid), "pPosX", status[pInfo][X]); ??? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] DOF2_SetInt(PlayersB(playerid), "pPosX", status[pInfo][X]); ??? (/showthread.php?tid=440654)



DOF2_SetInt(PlayersB(playerid), "pPosX", status[pInfo][X]); ??? - Exco - 30.05.2013

Boas pessoal, estou tendo um pequeno probleminha, veja abaixo.

Local do X,Y,Z.
Код:
enum pInfo
{
	pDev,
	pAdmin,
	pSkin,
	pInt,
	Float:X,
	Float:Y,
	Float:Z,
	pBancoConta,
	pBanco,
	pDinheiro
}
new status[MAX_PLAYERS][pInfo];
Aqui esta dando 3 Warnings...
Код:
        DOF2_SetInt(PlayersB(playerid), "pPosX", status[pInfo][X]);
        DOF2_SetInt(PlayersB(playerid), "pPosY", status[pInfo][Y]);
        DOF2_SetInt(PlayersB(playerid), "pPosZ", status[pInfo][Z]);
Код:
C:\...(76) : warning 213: tag mismatch
C:\...(77) : warning 213: tag mismatch
C:\...(78) : warning 213: tag mismatch
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Warnings.
Se alguйm souber o problema por favor me informar, aguardando...



Re: DOF2_SetInt(PlayersB(playerid), "pPosX", status[pInfo][X]); ??? - Gii - 30.05.2013

pawn Код:
DOF2_SetFloat



Re: DOF2_SetInt(PlayersB(playerid), "pPosX", status[pInfo][X]); ??? - tonisantolia - 30.05.2013

pawn Код:
DOF2_SetFloat(PlayersB(playerid), "pPosX", status[pInfo][X]);
        DOF2_SetFloat(PlayersB(playerid), "pPosY", status[pInfo][Y]);
        DOF2_SetFloat(PlayersB(playerid), "pPosZ", status[pInfo][Z]);