Help with a single command
#1

Hello everybody, i got a problem.

I get this error:
Код:
C:\Users\Бdi\Documents\SA-MP\pawno\new2.pwn(22) : error 017: undefined symbol "givePlayerMoney"
C:\Users\Бdi\Documents\SA-MP\pawno\new2.pwn(23) : error 017: undefined symbol "setPlayerHealth"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
When trying to compile this script:
Код:
#include <a_samp>
#include <a_players>

public OnFilterScriptInit()
{
	print("\n--------------------------------------");
	print(" Blank Filterscript by Stryp");
	print("--------------------------------------\n");
	return 1;
}

public OnFilterScriptExit()
{
	return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
/* Mit tegyьnk, amikor a jбtйkos parancsot нr be */
{
	if (strcmp("/healme", cmdtext, true, 7) == 0) // Ha a parancsa /healme
	{
	givePlayerMoney(playerid,-200); // Adunk neki -200 dollбrt, azaz elveszьnk
	setPlayerHealth(playerid,100); // Viszont kap йletet, teletцltjьk
	return 1;
	/* Ne legyen SERVER: Unknown Command. kiнrбs, mivel sikeresen vйgrehajtottuk
	a parancsot, semmi hiba nem tцrtйnt. */
	}
	
	return 0;
/* Ha nincs ilyen parancs, нrja ki: SERVER: Unknown Command. */
}
EDIT: Comments are in hungarian
Reply


Messages In This Thread
Help with a single command - by Stryp - 25.03.2011, 19:38
Re: Help with a single command - by MadeMan - 25.03.2011, 19:40
Re: Help with a single command - by Stryp - 25.03.2011, 19:41
Re: Help with a single command - by [ProX]BlueFire - 25.03.2011, 19:47
Re: Help with a single command - by Stryp - 25.03.2011, 19:52
Re: Help with a single command - by [ProX]BlueFire - 25.03.2011, 19:58
Re: Help with a single command - by Stryp - 25.03.2011, 20:00
Re: Help with a single command - by [ProX]BlueFire - 25.03.2011, 20:08

Forum Jump:


Users browsing this thread: 1 Guest(s)