/pm help? :D
#1

Hey guys…..


Sorry for this nub-ish question… but… could someone make me a /pm script? One with a /r command as well.. (which would respond to the person who last /pm ed them.


Sorry for this. But it can’t be a filterscipt, I have tried using a few.. maybe if someone has one in their server they could just throw it my way?

Thanks.
-Kevin
Reply
#2

lol... just read the other post on something similar to this... but i need it to have /r as well.
Reply
#3

dude don't double post!!
Reply
#4

This is what you want. https://sampforum.blast.hk/showthread.php?tid=152328
Reply
#5

Quote:
Originally Posted by Steven82
Посмотреть сообщение
dude don't double post!!
sorry! dang.

Quote:
Originally Posted by Kayla.S
Посмотреть сообщение
i was already using this.. but it clashes with something in my gamemode.. and sometimes crashes the server.

that is why i was requesting no FS's.. 'cause you never know what they could do to your GM.
Reply
#6

base.pwn has /ban, /pm, /kick, copy /pm from it, done
Reply
#7

Well if you maybe can get it to work... you can use mine

http://forum.sa-mp.com/showthread.ph...254#post796254
Reply
#8

https://sampforum.blast.hk/showthread.php?tid=164500

.
Reply
#9

Here, just for you :P, should work if I didn't fuck up somewhere...

pawn Код:
public OnPlayerConnect(playerid)
{
    SetPVarInt(playerid, "LastPM", -1);
    return 1;
}

CMD:pm(playerid, params[])
{
    new target, msg[128];
    if(sscanf(params, "us", target, msg)) return SendClientMessage(playerid, 0xFAFAFAA, "USAGE: /pm <playerid/name> <text>");
    else if(target == INVALID_PLAYER_ID) return SendClientMessage(playerid, 0xFAFAFAA, "ERROR: Player Not Found");

    new str[128];
    format(str, sizeof(str), "PM from %s(%d): %s", pName(playerid), playerid, msg);
    SendClientMessage(target, 0xFAFAFAA, str);
    SendClientMessage(target, 0xFAFAFAA, "Type \"/r <text>\"" to reply.");
    format(str, sizeof(str), "
PM sent to %s.", pName(target));
    SendClientMessage(playerid, 0xFAFAFAA, str);
    return 1;
}

CMD:r(playerid, params[])
{
    new msg[128];
    if(sscanf(params, "
s", msg)) return SendClientMessage(playerid, 0xFAFAFAA, "USAGE: /r <text>");
    else if(GetPVarInt(playerid, "
LastPM") == -1) return SendClientMessage(playerid, 0xFAFAFAA, "ERROR: No one has sent you a PM!");

    new str[128];
    format(str, sizeof(str), "
PM from %s(%d): %s", pName(playerid), playerid, msg);
    SendClientMessage(GetPVarInt(playerid, "
LastPM"), 0xFAFAFAA, str);
    return 1;
}
Reply
#10

Thanks guys! I used GarPM and just transfered it into my script for my servers.

@PotH3ad

After I saw that you did that for me, I used yours.. (just for YOU!! )
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)