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
-
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)
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:
if(strcmp(cmdtext, "/commandtoseedonatorcommands", true)==0)
{
SendClientMessage(playerid,COLOR_YELLOW, "Donator Commands: /nos, /setspawn, /resetspawn, /flowers, /donators, /ircpm");
}
-
Lol, Faraday got into pawn :D
-
faraday fails at pawn.
-
Thanks for the suggestions, they will be implemented on the next restart and a command for donator commands will be /dcmd
-
dcmd! D:
-
dcmd! D:
or whatever command you like.
@eDiT: it was just an example. and I also stated so.
-
dcmd! D:
cuz strcmp sucks ass.
-
dcmd! D:
cuz strcmp sucks ass.
Yes it does, for commands! :D :D :D :D :D :D ;D
-
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