SA-MP Forums Archive
offline message - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: offline message (/showthread.php?tid=505939)



- AhmedMohamed - 10.04.2014

how to send a offline message to a player?
with codes

i made referral system
Referral system is a way for players to gain prizes for inviting their friends to the server.
I made if the refferrd player logged in give him the prize and send to him message else set his prize on his file but i wanna send to him a message shown when he back online.


Re: offline message - Skidraw - 11.04.2014

Do You mean this?
Код:
public OnPlayerDisconnect(playerid, reason)
{
format(string,sizeof string,"%s Has Left The Server...",pName);
return 1;
}