Controllable drunk animation?
#6

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
	new cmd[256];
	new idx;
	cmd = strtok(cmdtext, idx);
	if(strcmp(cmd, "/drunk", true) == 0)
	{
		SetPlayerWalkingStyle(playerid, 12);
		return 1;
	}
	return 1;
}
ADDED: Hmm, I just tested again, when I had Simon's debug and the script with this command in I noticed that no commands worked, when I then unloaded the script with this in, the debug commands works, what is causing this? :S
Reply


Messages In This Thread
Controllable drunk animation? - by Michael_Sund - 04.03.2010, 21:51
Re: Controllable drunk animation? - by Fedee! - 04.03.2010, 21:54
Re: Controllable drunk animation? - by Michael_Sund - 04.03.2010, 23:14
Re: Controllable drunk animation? - by Michael_Sund - 05.03.2010, 08:39
Re: Controllable drunk animation? - by Lejo - 05.03.2010, 09:03
Re: Controllable drunk animation? - by Michael_Sund - 05.03.2010, 09:13
Re: Controllable drunk animation? - by SWEMike - 05.03.2010, 10:00
Re: Controllable drunk animation? - by SWEMike - 05.03.2010, 10:10

Forum Jump:


Users browsing this thread: 1 Guest(s)