littlewhitey's Servers Forum (SA-MP/VC-MP/MTA/Zomboid)

Recycle Bin => Suggestions (2008-2011) => SA-MP Archive (2015) => SA-MP Archive => Recycle Bin => Accepted Suggestions => Topic started by: Faraday on June 17, 2009, 05:50:19 PM

Title: [I] /IRCPM
Post by: Faraday 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");
       
}
Title: Re: Donators suggestion.
Post by: Dominator on June 17, 2009, 05:52:35 PM
Lol, Faraday got into pawn  :D
Title: Re: Donators suggestion.
Post by: eDiT on June 17, 2009, 06:03:06 PM
faraday fails at pawn.
Title: Re: Donators suggestion.
Post by: dugi 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
Title: Re: Donators suggestion.
Post by: Slice on June 17, 2009, 06:12:22 PM
dcmd! D:
Title: Re: Donators suggestion.
Post by: Faraday 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.
Title: Re: Donators suggestion.
Post by: Carolicious on June 17, 2009, 07:24:36 PM
dcmd! D:
cuz strcmp sucks ass.
Title: Re: Donators suggestion.
Post by: Slice on June 17, 2009, 07:27:49 PM
dcmd! D:
cuz strcmp sucks ass.
Yes it does, for commands! :D :D :D :D :D :D ;D
Title: Re: Donators suggestion.
Post by: KmanN 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