Vice City Multiplayer

VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: asad3man on May 16, 2011, 09:42:48 pm

Title: Need /c ann commands for only my script (read Plz)
Post by: asad3man 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.........
Title: Re: Need /c ann commands for only my script (read Plz)
Post by: yazeen on May 17, 2011, 11:17:15 am
So you need an ann for your server?
Title: Re: Need /c ann commands for only my script (read Plz)
Post by: asad3man on May 17, 2011, 07:30:59 pm
yes plz
Title: Re: Need /c ann commands for only my script (read Plz)
Post by: tato 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