18.09.2015, 16:38
(
Последний раз редактировалось TitanEVG; 18.03.2017 в 16:17.
Причина: old
)
old thread.
new lastSender[MAX_PLAYERS] = {INVALID_PLAYER_ID, ...};
CMD:pm(playerid, params[])
{
//Add this at the end:
lastSender[id] = playerid;
return 1;
}
CMD:r(playerid, params[])
{
new send_to = lastSender[playerid];
//Now just send the pm to 'send_to'
return 1;
}