help gives one warning...
#1

hey guys.. why does this give a warning?

Код:
  	if (strcmp("/kill",cmdtext,true)==0) {
		if(GetPlayerHealth(playerid) == 0) {
		SendClientMessage(playerid,BRIGHTRED,"You are already dead.");
		return 1; }
		else {
			new name[MAX_PLAYER_NAME];
      new string[256];
			GetPlayerName(playerid, name, sizeof(name));
			format(string, sizeof(string), "*** %s commited suicide ***", name);
			printf("*** %s commited suicide ***", name);
			SendClientMessageToAll(LEMON, string);
			SetPlayerHealth(playerid,00.00);
			return 1; } }
Код:
C:\SAMPSE~1\FILTER~1\manhunt.pwn(249) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
the warning line is:

Код:
if(GetPlayerHealth(playerid) == 0) {
help plz? thnx.
Reply


Messages In This Thread
help gives one warning... - by [GF]sIdEkIcK - 12.07.2009, 23:11
Re: help gives one warning... - by Weirdosport - 12.07.2009, 23:14
Re: help gives one warning... - by [GF]sIdEkIcK - 12.07.2009, 23:15
Re: help gives one warning... - by Klutty - 12.07.2009, 23:16
Re: help gives one warning... - by Weirdosport - 12.07.2009, 23:17
Re: help gives one warning... - by [GF]sIdEkIcK - 12.07.2009, 23:30

Forum Jump:


Users browsing this thread: 8 Guest(s)