Create Object
#9

Quote:
Originally Posted by Ţأ$jΰв٭Y ★
Quote:
Originally Posted by Hiddos
pawn Код:
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); // Creates a cow 2 foot behind you (16442 = cow ID)
Creates it two foot behind him.
You're the man, thanks alot for helping me out there
I actually got it from my own script, in which I use this to create explosions in-front of RC Tigers (tanks).

Enjoy it
Reply


Messages In This Thread
Create Object - by [DDC]Delight - 21.06.2010, 19:09
Re: Create Object - by MadeMan - 21.06.2010, 19:20
Re: Create Object - by Brian_G - 21.06.2010, 19:23
Re: Create Object - by [DDC]Delight - 21.06.2010, 19:30
Re: Create Object - by [DDC]Delight - 21.06.2010, 19:31
Re: Create Object - by MadeMan - 21.06.2010, 19:33
Re: Create Object - by Hiddos - 21.06.2010, 19:36
Re: Create Object - by [DDC]Delight - 21.06.2010, 19:49
Re: Create Object - by Hiddos - 21.06.2010, 19:52

Forum Jump:


Users browsing this thread: 9 Guest(s)