Loose indentation
#3

Quote:
Originally Posted by RogueDrifter
Посмотреть сообщение
PHP код:
stock GetXYInBackOfPlayer(const playerid, &Float:x, &Float:y, const Float:distance)
{
    new 
Float:a;
    
GetPlayerPos(playeridxya);
    
GetPlayerFacingAngle(playerida);
    if (
IsPlayerInAnyVehicle(playerid))
    {
        new 
vid=GetPlayerVehicleID(playerid);
        if (
vid && vid SS[NumberOfVehicles])GetVehicleZAngle(vida);
        }
    
-= (distance floatsin(-adegrees));
    
-= (distance floatcos(-adegrees));

Read Indentation Tutorial
Thanks, u know about the second thing i asked?
Reply


Messages In This Thread
Loose indentation - by IdonTmiss - 10.01.2018, 21:05
Re: Loose indentation - by RogueDrifter - 10.01.2018, 21:12
Re: Loose indentation - by IdonTmiss - 10.01.2018, 21:22

Forum Jump:


Users browsing this thread: 2 Guest(s)