Author Topic: PLZ HELP ME!!!!!  (Read 3584 times)

0 Members and 1 Guest are viewing this topic.

Offline Rumman_CoOl

  • Street Thug
  • *
  • Posts: 2
    • View Profile
PLZ HELP ME!!!!!
« on: February 13, 2012, 06:18:19 am »
In my new server When i add Cmd It doesn't Work In game Help me plz!!!!
[pawn]}
      else if (strcmp(cmd, "owner",true) == 0)
      {SendClientMessage(playerid,0xFFFFFFFF,"Server owner:Rumman Arshad.");
      return true;
         {[/pawn]

Offline jimmy

  • Wiseguy
  • **
  • Posts: 94
    • View Profile
Re: PLZ HELP ME!!!!!
« Reply #1 on: February 13, 2012, 06:26:02 am »
[pawn]   else if ( strcmp( cmd, "!owner", true ) == 0 )
   {
       format( szMsg, 128, "Server Owner Rumman" );
      SendClientMessageToAll( RED, szMsg );
      return 1;
   }[/pawn]
;)
Storm City Owner

Stormcity.smfnew.com

Offline Rumman_CoOl

  • Street Thug
  • *
  • Posts: 2
    • View Profile
Re: PLZ HELP ME!!!!!
« Reply #2 on: February 13, 2012, 07:31:40 am »
I have team viewer Can u do it for me ??
Coz i am not a scripter So plz do it for me!!!

Offline jimmy

  • Wiseguy
  • **
  • Posts: 94
    • View Profile
Re: PLZ HELP ME!!!!!
« Reply #3 on: February 13, 2012, 08:56:07 am »
hy i dont have time to do that becuase i m also scripting
Storm City Owner

Stormcity.smfnew.com

yazeen

  • Guest
Re: PLZ HELP ME!!!!!
« Reply #4 on: February 13, 2012, 10:27:21 am »
[pawn] format( szMsg, 128, "Server Owner Rumman" ); [/pawn]
;)

Why are you using format for simple texts?

Use this
[pawn]else if ( strcmp( cmd, "!owner", true ) == 0 )
   {
      SendClientMessageToAll( 0xFFFFFFFF, "Server Owner  Rumman" );
      return 1;
   }[/pawn]




Offline jimmy

  • Wiseguy
  • **
  • Posts: 94
    • View Profile
Re: PLZ HELP ME!!!!!
« Reply #5 on: February 13, 2012, 10:29:57 am »
Sorry  :-[
Storm City Owner

Stormcity.smfnew.com

yazeen

  • Guest
Re: PLZ HELP ME!!!!!
« Reply #6 on: February 13, 2012, 10:40:05 am »
Sorry  :-[

You did right but i just correcting you. :)