about commands
#1

I got some problems cant make any commands on my GM, tried in different ways and still have erros

lets take a simple command
Код:
if(strcmp(cmd, "/handsup", true) == 0)
{
  SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP);
  return 1;
}
When i compile it gives me ERROS

Код:
invalid function or declaration
invalid function or declaration
2 problem When im tryin to make command in 2nd way its jst doesn't work, when i type it >server say Unknow command
simple command
Код:
dcmd_kill1(playerid, cmdtext[]) {
  #pragma unused cmdtext
  SetPlayerHealth( playerid, 20 );
  return 1;
}
Reply


Messages In This Thread
about commands - by xploit101 - 06.09.2009, 04:21
Re: about commands - by Zezombia - 06.09.2009, 05:33
Re: about commands - by The_Tough - 06.09.2009, 08:27

Forum Jump:


Users browsing this thread: 2 Guest(s)