22.04.2012, 01:16
Seria assim,
pawn Код:
new Float:x, Float:y, Float:z, Float:a;
GetPlayerPos(playerid, x, y, z);
GetPlayerFacingAngle(playerid, a);
CreateObject(981, x, y, z, 0.0, 0.0, a, 90.0);
SetPlayerPos(playerid, x+1, y+1, z);