Just warnings ...
#6

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (!strcmp("/v Boxville2", cmdtext, true))
    {
        if(SpawnedVehicles[playerid] != 0) DestroyVehicle(SpawnedVehicles[playerid]);
        new Float:X,Float:Y,Float:Z,Float:ROT;
        GetPlayerPos(playerid,X,Y,Z);
        GetPlayerFacingAngle (playerid,ROT);
        SetVehicleNumberPlate(SpawnedVehicles[playerid] = CreateVehicle(606,X,Y,Z,ROT,-1,-1,60), "{0049FF}D{F3FF02}K{F81414}R");
        PutPlayerInVehicle(playerid,SpawnedVehicles[playerid],0);
        GameTextForPlayer(playerid,"~h~~w~Boxville 2~n~~h~~w~ID:~h~~r~606",2500,1);
        return 1;
    }
    return 0;
}
Is it indented like this?

Also, if indentations don't bother you, you can always use this at the top of your script:

pawn Код:
#pragma tabsize 0
Reply


Messages In This Thread
Just warnings ... - by DarkyTheAngel - 21.02.2012, 21:29
Re: Just warnings ... - by mitchboy - 21.02.2012, 21:32
Re: Just warnings ... - by DarkyTheAngel - 21.02.2012, 21:36
Re: Just warnings ... - by mitchboy - 21.02.2012, 21:39
Re: Just warnings ... - by DarkyTheAngel - 21.02.2012, 22:16
Re: Just warnings ... - by austin070 - 21.02.2012, 22:18
Re: Just warnings ... - by mitchboy - 21.02.2012, 22:21
Re: Just warnings ... - by John Rockie - 21.02.2012, 22:22
Re: Just warnings ... - by DarkyTheAngel - 21.02.2012, 22:40
Re: Just warnings ... - by Mark™ - 22.02.2012, 09:34

Forum Jump:


Users browsing this thread: 5 Guest(s)