Errors!!!
#8

Quote:
Originally Posted by Don Correlli
Quote:
Originally Posted by Compton's Eazy E
I dont get it it has 6 characters not 10
/skill = /, s, k, i, l, l
1 = /
2 = s
3 = k
4 = i
5 = l
6 = l

6 is the length of /skill command.

Using_strcmp()
Quote:

if(!strcmp(cmdtext, "/me", true, 3)) // 3 is the length of /me
{
..

Like this and the script still works

Код:
if(strcmp(cmd, "/help", true) == 0)//
	{
	  SendClientMessage(playerid,COLOR_LIGHTYELLOW2,"Visit us at www.EazyRP.tk");
	  SendClientMessage(playerid,COLOR_LIGHTYELLOW2,"Commands - /Commands");
	  SendClientMessage(playerid,COLOR_LIGHTYELLOW2,"Retaketutorial - /Tutorial (not reccommended)");
	  SendClientMessage(playerid,COLOR_LIGHTYELLOW2,"RP help - /rphelp ");
	  SendClientMessage(playerid,COLOR_LIGHTYELLOW2,"FAQ - /faq ");
	  return 1;
	}
Reply


Messages In This Thread
Errors!!! - by Geekzor - 19.08.2009, 17:22
Re: Errors!!! - by Correlli - 19.08.2009, 17:24
Re: Errors!!! - by MenaceX^ - 19.08.2009, 17:28
Re: Errors!!! - by Geekzor - 19.08.2009, 18:05
Re: Errors!!! - by Correlli - 19.08.2009, 18:12
Re: Errors!!! - by Eazy_Efolife - 19.08.2009, 18:14
Re: Errors!!! - by Correlli - 19.08.2009, 18:22
Re: Errors!!! - by Eazy_Efolife - 19.08.2009, 18:58
Re: Errors!!! - by Correlli - 19.08.2009, 19:00
Re: Errors!!! - by Geekzor - 19.08.2009, 19:56

Forum Jump:


Users browsing this thread: 2 Guest(s)