09.01.2011, 13:48
use this instead
pawn Код:
new float:LogX,float:LogY,float:LogZ;
GetPlayerPos(playerid, LogX,LogY,LogZ);
PlayerInfo[playerid][logpositionX] = LogX;
PlayerInfo[playerid][logpositionX] = Log,Y;
PlayerInfo[playerid][logpositionX] = LogZ;
if(!PlayerInfo[playerid][logposition]= 0)
{
new LogX = PlayerInfo[playerid][logpositionX];
new LogY = PlayerInfo[playerid][logpositionY];
new LogZ = PlayerInfo[playerid][logpositionZ];
SetPlayerPost(playerid,LogX,LogY,LogZ);
}