Mind helping me? (Pro scripter) nevermind..
#3

pawn Код:
GetXYInFrontOfPlayer(playerid, &Float:x, &Float:y, Float:distance)
{
    new Float:a;
    GetPlayerPos(playerid, x, y, a);
    GetPlayerFacingAngle(playerid, a);
    if (GetPlayerVehicleID(playerid))
    {
      GetVehicleZAngle(GetPlayerVehicleID(playerid), a);
    }
    x += (distance * floatsin(-a, degrees));
    y += (distance * floatcos(-a, degrees));
}
How can this help me? in Moving the object fast or getting the cords?
Sorry new to this shit and it's night (mind fucked i guess so).
will this help me get the infront pos of player?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)