Loose indentation HELP
#1

It Says Loose Indentation
Where is the problem?

Code:
PHP код:
CMD:v(playerid,params[])
{
new 
car;
new 
string[128];
new 
Float:XFloat:YFloat:Z;
GetPlayerPos(playeridFloat:XFloat:YFloat:Z);
if(
sscanf(params,"i"car)) return SendClientMessage(playerid,0xff0000ff,"USAGE: /Veh <Vehicle ID 400 - 611>");
else if(
car 400 || car >611) return SendClientMessage(playerid0xff0000ff"ERROR: Cannot go under 400 or above 611.");
{
if(
Vehicle[playerid] != 0)
    {
        
DestroyVehicle(Vehicle[playerid]);
    }
    
Vehicle[playerid] = CreateVehicle(carXY2.00, -1, -11);
    
format(string,sizeof(string),"You Have Spawned Vehicle ID %i",car);
    
SendClientMessage(playerid0xffffffffstring);
    
PutPlayerInVehicle(playeridVehicle[playerid], 0);
}
return 
1;

Reply


Messages In This Thread
Loose indentation HELP - by robibacsii - 12.12.2014, 18:45
Re: Loose indentation HELP - by bogushas - 12.12.2014, 18:48
Re: Loose indentation HELP - by robibacsii - 12.12.2014, 18:49
Re: Loose indentation HELP - by ilepopivanov - 12.12.2014, 18:54
Re: Loose indentation HELP - by Dizzle - 12.12.2014, 18:55
Re: Loose indentation HELP - by Pottus - 12.12.2014, 19:09
Re: Loose indentation HELP - by JuanStone - 12.12.2014, 21:34

Forum Jump:


Users browsing this thread: 3 Guest(s)