What did i do wrong
#8

Quote:
Originally Posted by dice7
like so:

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp(cmdtext, "/elegy", true)==0)
     {
   new mycar;
   mycar = GetPlayerVehicleID(playerid);
   AddVehicleComponent(mycar, 1010);
   AddVehicleComponent(mycar, 1034);
   AddVehicleComponent(mycar, 1036);
   AddVehicleComponent(mycar, 1146);
   AddVehicleComponent(mycar, 1149);
   AddVehicleComponent(mycar, 1171);
   ChangeVehiclePaintjob(mycar, 3);
   ChangeVehicleColor(mycar, 6, 6);
   return 1;
    }
}
errors

[pawn
]C:\Documents and Settings\Luc\Bureaublad\Pawno\filterscripts\comman ds.pwn(31) : error 001: expected token: "-identifier-", but found ";"
C:\Documents and Settings\Luc\Bureaublad\Pawno\filterscripts\comman ds.pwn(32) : warning 217: loose indentation
C:\Documents and Settings\Luc\Bureaublad\Pawno\filterscripts\comman ds.pwn(32) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Luc\Bureaublad\Pawno\filterscripts\comman ds.pwn(33) : warning 217: loose indentation
C:\Documents and Settings\Luc\Bureaublad\Pawno\filterscripts\comman ds.pwn(33) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Luc\Bureaublad\Pawno\filterscripts\comman ds.pwn(33) : warning 215: expression has no effect
C:\Documents and Settings\Luc\Bureaublad\Pawno\filterscripts\comman ds.pwn(33) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Luc\Bureaublad\Pawno\filterscripts\comman ds.pwn(33) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Luc\Bureaublad\Pawno\filterscripts\comman ds.pwn(33) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


6 errors
[/pawn]
Reply


Messages In This Thread
What did i do wrong - by Futurezx - 01.06.2009, 11:51
Re: What did i do wrong - by propilot - 01.06.2009, 12:02
Re: What did i do wrong - by Futurezx - 01.06.2009, 12:09
Re: What did i do wrong - by Futurezx - 01.06.2009, 12:19
Re: What did i do wrong - by dice7 - 01.06.2009, 12:33
Re: What did i do wrong - by luckie12 - 01.06.2009, 12:38
Re: What did i do wrong - by dice7 - 01.06.2009, 12:42
Re: What did i do wrong - by luckie12 - 01.06.2009, 12:43
Re: What did i do wrong - by dice7 - 01.06.2009, 12:47
Re: What did i do wrong - by luckie12 - 01.06.2009, 12:51

Forum Jump:


Users browsing this thread: 1 Guest(s)