19.02.2011, 22:35
Ok I try to make a command which creates object in game. But it fails. The object is not at the perfect postition.
pawn Код:
new Float:X, Float:Y, Float:Z;
GetPlayerPos( playerid, X, Y, Z);
PosInfo[playerid][posx] = X;
PosInfo[playerid][posy] = Y;
PosInfo[playerid][posz] = Z;
CreateDynamicObject( 2942, X+2, Y+2, Z+2, 12, 15, 0, -1, 0);