Author Topic: [I] /IRCPM  (Read 3189 times)

0 Members and 1 Guest are viewing this topic.

Offline Faraday

  • The Scranton Strangler
  • SA-MP Retirees
  • *
  • *
  • *
  • Posts: 2599
  • Super[M]unkey
    • Awards
[I] /IRCPM
« on: June 17, 2009, 05:50:19 PM »
Can we have a returned message to the player who sends a /ircpm to someone?

because now it returns 1; but if you forget it could be spammed

something like (this needs adaptation, since I don't know the actual /ircpm code)

Code: [Select]
if(!strcmp(cmdtext, "/ircpm", true))
    {
        if(cmdtext[] == 0) {
        SendClientMessage(playerid, 0xFF0000FF, "USAGE: /ircpm [msg]");
        return 1;
     }
        new string[128];
        GetPlayerName(playerid, string, sizeof(string));
        format(string, sizeof(string), "PM to IRC sent: %s", string);
        SendClientMessage(playerid,COLOR, string);
        return 1;
     }


Also a command to see donator commands ingame:
Code: [Select]
if(strcmp(cmdtext, "/commandtoseedonatorcommands", true)==0)
{
SendClientMessage(playerid,COLOR_YELLOW, "Donator Commands: /nos, /setspawn, /resetspawn, /flowers, /donators, /ircpm");
       
}
« Last Edit: May 18, 2010, 12:23:55 PM by Hazard »

Offline Dominator

  • SA-MP Donator
  • *
  • Posts: 1937
  • sup
    • Awards
Re: Donators suggestion.
« Reply #1 on: June 17, 2009, 05:52:35 PM »
Lol, Faraday got into pawn  :D
well dominator is still the fucked up forum whore he always was, i am glad that i never see u somewhere ingame.

Offline eDiT

  • Management
  • *
  • *
  • Posts: 1553
    • Littlewhiteys
    • Awards
Re: Donators suggestion.
« Reply #2 on: June 17, 2009, 06:03:06 PM »
faraday fails at pawn.

Offline dugi

  • Management
  • *
  • Posts: 3137
    • best song ever
    • Awards
Re: Donators suggestion.
« Reply #3 on: June 17, 2009, 06:09:59 PM »
Thanks for the suggestions, they will be implemented on the next restart and a command for donator commands will be /dcmd

Offline Slice

  • SA-MP Retirees
  • *
  • *
  • Posts: 811
    • Awards
Re: Donators suggestion.
« Reply #4 on: June 17, 2009, 06:12:22 PM »
dcmd! D:

Offline Faraday

  • The Scranton Strangler
  • SA-MP Retirees
  • *
  • *
  • *
  • Posts: 2599
  • Super[M]unkey
    • Awards
Re: Donators suggestion.
« Reply #5 on: June 17, 2009, 06:50:57 PM »
dcmd! D:

or whatever command you like.

@eDiT: it was just an example. and I also stated so.

Offline Carolicious

  • SA-MP Retirees
  • *
  • Posts: 427
    • Awards
Re: Donators suggestion.
« Reply #6 on: June 17, 2009, 07:24:36 PM »



Offline Slice

  • SA-MP Retirees
  • *
  • *
  • Posts: 811
    • Awards
Re: Donators suggestion.
« Reply #7 on: June 17, 2009, 07:27:49 PM »

Offline KmanN

  • SA-MP Donator
  • *
  • Posts: 1019
  • Rawr!
    • The bestest site ever
    • Awards
Re: Donators suggestion.
« Reply #8 on: June 18, 2009, 03:49:39 AM »
Thanks for the suggestions, they will be implemented on the next restart and a command for donator commands will be /dcmd
dcmd_dcmd(playerid, cmdtext[])
{
   #pragma unused playerid
   #pragma unused cmdtext
   SendCientMessage(playerid, COLOR_RED, "OMG its dcmd used in a dcmd command xD ");
   return 1;
}


yea i was bored and that only took 1 sec :C
Quote
<~Scott> if kmann had a vagina, he'd be complete