Object question
#3

Код:
CMD:o(playerid,params[])
{
new Float:x,Float:y,Float:z,Float:a,Float:X,Float:y;
GetPlayerPos(playerid,x,y,z);
GetPlayerFacingAngle(playerid,a);
X = x + (-2 * floatsin(-a,degrees));
Y = y + (-2 * floatcos(-a,degrees));
CreateObject(16442,X,Y,z,0,0,0);
return 1;
}
i try somefing like this but fail
Reply


Messages In This Thread
Object question - by elefante - 07.04.2011, 20:44
Re: Object question - by Cameltoe - 07.04.2011, 20:46
Re: Object question - by elefante - 07.04.2011, 21:07

Forum Jump:


Users browsing this thread: 1 Guest(s)