25.10.2009, 08:30
It's getting the position of a OBJECT. Not a player. Read the command.
If the object was created with CreatePlayerObject use GetPlayerObjectPos(playerid, objectid, x, y, z);
If the object was created with CreateObject use GetObjectPos(objectid, x, y, z);
If the object was created with CreatePlayerObject use GetPlayerObjectPos(playerid, objectid, x, y, z);
If the object was created with CreateObject use GetObjectPos(objectid, x, y, z);