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, ![Cool](images/smilies/cool.gif) thanks alot for helping me out there ![Smiley](images/smilies/smile.png)
|
I actually got it from my own script, in which I use this to create explosions in-front of RC Tigers (tanks).
Enjoy it