Errors on commands
#1

The error is:
Код:
C:\Users\mattt\Desktop\New\gamemodes\arrp.pwn(348) : error 017: undefined symbol "dcmd_ahelp"
C:\Users\mattt\Desktop\New\gamemodes\arrp.pwn(349) : error 017: undefined symbol "dcmd_sethp"
C:\Users\mattt\Desktop\New\gamemodes\arrp.pwn(383) : error 017: undefined symbol "dcmd_ahelp"
C:\Users\mattt\Desktop\New\gamemodes\arrp.pwn(390) : error 017: undefined symbol "dcmd_sethp"
on these lines:
Код:
dcmd(stats, 5, cmdtext);
dcmd(ahelp, 5, cmdtext);
dcmd(sethp, 5, cmdtext);

dcmd_ahelp(playerid, params[])
{
SendClientMessage(playerid, COLOUR_YELLOW, "TEST: /SETHP || /GETCAR || /COMEHERE || /GOTO");
SendClientMessage(playerid, COLOUR_YELLOW, "TEST: /SETSKIN || /GIVECASH || /GIVEWEAPON || /FREEZE");
SendClientMessage(playerid, COLOUR_YELLOW, "TEST: /UNFREEZE || /CHANGENAME || /KICK || /BAN");
}

dcmd_sethp(playerid, params[])
{
SetPlayerHealth(playerid, 100);
}
But it doenst pick up an error on this one which i have used:
Код:
	
dcmd(stats, 5, cmdtext);
if that makes sence thanks for the help
Reply


Messages In This Thread
Errors on commands - by slymatt - 20.07.2011, 00:57
Re: Errors on commands - by [HiC]TheKiller - 20.07.2011, 01:53

Forum Jump:


Users browsing this thread: 1 Guest(s)