another problem[solved]
#6

Your codes have wasted brackets in my opinion.
I prefer coding in that way(fixed identiation aswell):
pawn Код:
if(!strcmp(cmdtext,"/respray",true))
{
  if(!IsPlayerInAnyVehicle(playerid))
    return SendClientMessage(playerid,color,"You have to be inside a vehicle!");
  SetVehicleHealth(GetPlayerVehicleID(playerid),1000.0);
  return 1;
}
Reply


Messages In This Thread
another problem[solved] - by Serediucr - 19.06.2009, 15:02
Re: another problem - by Serediucr - 19.06.2009, 15:21
Re: another problem - by Correlli - 19.06.2009, 15:46
Re: another problem - by cloud9 - 19.06.2009, 15:49
Re: another problem - by Serediucr - 19.06.2009, 16:00
Re: another problem[solved] - by MenaceX^ - 19.06.2009, 16:04

Forum Jump:


Users browsing this thread: 3 Guest(s)