[Tutorial] Making basic commands [ZCMD]
#5

hi i tried to make the cmds /healme but it gave
by adding this line
Quote:

//---------------------------------
CMD:"healme(playerid,params[])
{
SendClientMessage(playerid, 0x33CCFFAA, " Health restored for 500$! ");
SetPlayerHealth(playerid, 100);
GivePlayerMoney(playerid, -500);
return 1;
}
//----------------------------------

but it gave me a error
Quote:

C:\games\GTA SanAndreas\SeRveR SaMp\gamemodes\letstestyou.pwn(334) : error 037: invalid string (possibly non-terminated string)
C:\games\GTA SanAndreas\SeRveR SaMp\gamemodes\letstestyou.pwn(339) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.

when i compiled
Reply


Messages In This Thread
Making basic commands [ZCMD] - by Gangs_Rocks - 09.03.2012, 11:37
Re: Making basic commands [ZCMD] - by Alexy_Dramon - 19.03.2012, 18:09
Re: Making basic commands [ZCMD] - by BetaLaxx - 19.03.2012, 18:44
Re: Making basic commands [ZCMD] - by Max_Coldheart - 19.03.2012, 19:22
Re: Making basic commands [ZCMD] - by mubashir - 01.07.2013, 10:15
Re: Making basic commands [ZCMD] - by mubashir - 01.07.2013, 10:20
Re: Making basic commands [ZCMD] - by Raaf - 04.07.2013, 10:37
Re: Making basic commands [ZCMD] - by Team_PRO - 06.07.2013, 06:06
Re: Making basic commands [ZCMD] - by Aerotactics - 06.07.2013, 21:10

Forum Jump:


Users browsing this thread: 1 Guest(s)