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
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.
SendClientMessageToAll(RED, "Cops Jail %s He Or She Has 12 Stars")
Originally Posted by luckie12
hi i need help
how to make RCON admins a player to a cop? with commands? |
Originally Posted by luckie12
plzzz help me
|
SendClientMessageToAll(RED, "Cops Jail %s He Or She Has 12 Stars") |
A) you need a string. B) you forgot the ; C) Gah..
Originally Posted by harly
Quote:
Код:
A) you need a string. B) you forgot the ; C) Gah.. |
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.
new tmpstring[MAX_PLAYER_NAME+50];
format(tmpstring,sizeof(tmpstring),"All on duty officers, arrest and incarcerate %s; he or she has an arrest warrant",whateverplayervariable);
SendClientMessageToAll(RED,tmpstring);