18.12.2011, 03:36
Create a PVar, or normal variable, storing the ID of the person who last PMed the player in the variable, then use /r to check that ID and send the reply to that ID.
In your PM command:
In your reply command:
In your PM command:
pawn Код:
/* for this explanation, iTarget is the player who is receiving the PM and playerid is the one sending it */
SetPVarInt(iTarget, "LastPMFrom", playerid);
pawn Код:
new iTarget = GetPVarInt(playerid, "LastPMFrom");
/* iTarget being the target of the reply */
