Quote:
Originally Posted by MP2
Why does your topic title have no relevance to your topic whatsoever..? Imagine someone posting an advertisement saying 'I'M SELLING A CAR' then you find out they're selling a chicken. It's stupid.
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)); }
|
LOL! That was kind of funny. :P