Help!
#3

Quote:
Originally Posted by Syntax
Посмотреть сообщение
if (strcmp(cmd, "/heal", true) ==0)
{
SetPlayerHealth(playerid, 100);
}

Can someone tell me what is wrong in this command because when I'm trying to compile it i've got the following error:

D:\random server\gamemodes\hts.pwn(235) : error 010: invalid function or declaration
pawn Код:
if (strcmp(cmd, "/heal", true) ==0)
{
     SetPlayerHealth(playerid, 100);
     return 1;
}
Reply


Messages In This Thread
Help! - by Syntax - 03.08.2011, 08:32
Re: Help! - by Cameltoe - 03.08.2011, 08:37
Re: Help! - by dr.pepper - 03.08.2011, 08:38
Re: Help! - by Syntax - 03.08.2011, 08:39
Re: Help! - by Syntax - 03.08.2011, 08:43
Re: Help! - by dr.pepper - 03.08.2011, 08:45
Re: Help! - by Cameltoe - 03.08.2011, 08:53
Re: Help! - by Calgon - 03.08.2011, 08:53
Re: Help! - by Syntax - 03.08.2011, 09:05
Re: Help! - by Syntax - 03.08.2011, 09:08

Forum Jump:


Users browsing this thread: 2 Guest(s)