Author Topic: Need /c ann commands for only my script (read Plz)  (Read 2624 times)

0 Members and 1 Guest are viewing this topic.

Offline asad3man

  • Made Man
  • ***
  • Posts: 121
  • A for Asad "Lion of Allah"
    • View Profile
    • Ultra DM server Website
Need /c ann commands for only my script (read Plz)
« on: May 16, 2011, 09:42:48 pm »
I had made my server and Clan and a script with the help of my dear freinds Big [H} Stormeus and Others and also with the Benificary of allah but now i need more commads to add it in my server, My Server Script is here check it,
http://forum.vicecitymultiplayer.com/index.php?topic=2810.0

More Information:-
This Script's admin is like VCMP Script so i want to get taht scirpt which will be only accessable for them who knew the RCON Admin password,so will give me that script for only rcon admin password.........

yazeen

  • Guest
Re: Need /c ann commands for only my script (read Plz)
« Reply #1 on: May 17, 2011, 11:17:15 am »
So you need an ann for your server?

Offline asad3man

  • Made Man
  • ***
  • Posts: 121
  • A for Asad "Lion of Allah"
    • View Profile
    • Ultra DM server Website
Re: Need /c ann commands for only my script (read Plz)
« Reply #2 on: May 17, 2011, 07:30:59 pm »
yes plz

Offline tato

  • Made Man
  • ***
  • Posts: 106
  • I bet u don't know me!
    • View Profile
    • EA Server
Re: Need /c ann commands for only my script (read Plz)
« Reply #3 on: May 17, 2011, 10:35:32 pm »
easy
[pawn]else if (strcmp(cmd, "ann", true) == 0) {
      tmp = strtok(cmdtext, idx);
      if (IsPlayerAdmin(playerid) == 0) SendClientMessage(playerid,COLOR_GREEN,"You Need To Be Rcon-Admin");
      else if (!strlen(tmp)) { SendClientMessage(playerid,COLOR_GREEN, "Usage: /c ann [Message]"); }
      else {
   new string[256];
         format(string,256,"%s",cmdtext[3]);
         GameTextForAll(string);
      }
      return 1;
      }[/pawn]
there :D