20.07.2011, 00:57
The error is:
on these lines:
But it doenst pick up an error on this one which i have used:
if that makes sence thanks for the help
Код:
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"
Код:
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); }
Код:
dcmd(stats, 5, cmdtext);