05.03.2015, 12:03
First create 3 floats, and use GetPlayerPos to store the player's coordinates in those floats.
Then to create the object, plus the x or y coordinate by around 2 - 3, which will create it a bit away from him, and not inside him.
pawn Код:
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
CreateDynamicObject(objectid, x + 2, y, z ... );