Help!
#5

I have just checked out the previous posts, also I'd like to know why the length is set to 3.

Quote:

pawn Code:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmdtext, "/heal", true, 3))
{
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: 1 Guest(s)