Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - (VEK)Prince

Pages: [1]
1
mIRC/pawn Scripting / Leaving Pawn! Plz Help to SQ
« on: January 08, 2012, 06:31:44 pm »
Hi Guys.
Im saying that im leaving pawn we can't do anything in there except commands and i forgot to use SQ so many years ago thats why i forgot i need help from anyone plz help me to guide with SQuirrel that how should it will work i be very thankful to you

2
mIRC/pawn Scripting / Need Help In <!> to </c>
« on: December 27, 2011, 10:49:11 am »
Hi Guys i wanna know that how can we do this ! to /c i tried alot but it did'nt work i give you this

Example I have this
[pawn]}
   else if (strcmp(cmd, "setnews", true) == 0) {
      new szMsg[256], setnews[256];
      tmp = strtok(cmdtext, idx);
      if(!IsPlayerAdmin(playerid)) SendClientMessage(playerid, COLOR_RED, "You need to Rcon login first!");
      else if (!strlen(tmp)) SendClientMessage(playerid,COLOR_RED,"USAGE: /c setnews text");
      else {
         format(file, sizeof(file), "/News/News.ini", "News");
            format(setnews,sizeof(setnews),"By [%s]> %s ",gPlayers[playerid],cmdtext[7]);
         dini_Set(file, "News", setnews);
            SetTimer("SetTimer",2000);
      }
      return 1;[/pawn]

but it did'nt work through as it looks anyone can tell me that how to correct this when i type /c setnews so it says "Error:Unknown Command" need help!

Pages: [1]