15.05.2009, 15:56
help i get errors
what is wrong whit this?
this are the errors:
it says line 33
this is line 33:
whats wrong? please help ty alot
what is wrong whit this?
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/stars", cmdtext, true, 10) == 0)
{
SetPlayerWantedLevel(playerid,20);
SendClientMessageToAll(RED, "Cops Jail %s He Or She Has 12 Stars");
return 1;
}
return 0;
}
#endif
pawn Код:
C:\Documents and Settings\Luc\Bureaublad\Pawno\filterscripts\stars4.pwn(33) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Luc\Bureaublad\Pawno\filterscripts\stars4.pwn(33) : warning 215: expression has no effect
C:\Documents and Settings\Luc\Bureaublad\Pawno\filterscripts\stars4.pwn(33) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Luc\Bureaublad\Pawno\filterscripts\stars4.pwn(33) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Luc\Bureaublad\Pawno\filterscripts\stars4.pwn(33) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
this is line 33:
pawn Код:
SendClientMessageToAll(RED, "Cops Jail %s He Or She Has 12 Stars")