SendDeathMessage But Instead OnPlayerConnect! [HELP] - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: SendDeathMessage But Instead OnPlayerConnect! [HELP] (
/showthread.php?tid=152012)
SendDeathMessage But Instead OnPlayerConnect! [HELP] -
Toni - 02.06.2010
Hey, I've seen on a few servers that have the icon of 2 computers, as when they connect and disconnect.
Can Anyone can tell me how to do that? I tried searching on wiki but i found nothing.
Re: SendDeathMessage But Instead OnPlayerConnect! [HELP] -
[NYRP]Mike. - 02.06.2010
https://sampwiki.blast.hk/wiki/SendDeathMessage
pawn Код:
public OnPlayerConnect(playerid)
{
SendDeathMessage(playerid, playerid, 200);
//REst of code
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
SendDeathMessage(playerid, playerid, 201);
//REst of code
return 1;
}
Should work - Untested.
Re: SendDeathMessage But Instead OnPlayerConnect! [HELP] -
Toni - 02.06.2010
It does. Thank you Sir.
Re: SendDeathMessage But Instead OnPlayerConnect! [HELP] -
[NYRP]Mike. - 02.06.2010
Anytime.
Re: SendDeathMessage But Instead OnPlayerConnect! [HELP] -
Antonio [G-RP] - 02.06.2010
Icon of 2 computers?
Re: SendDeathMessage But Instead OnPlayerConnect! [HELP] -
Toni - 02.06.2010
Quote:
Originally Posted by Antonio (eternalrp.webatu.com)
Icon of 2 computers?
|
Yes, let me upload a picture.
Re: SendDeathMessage But Instead OnPlayerConnect! [HELP] -
Antonio [G-RP] - 02.06.2010
OH, nice
Re: SendDeathMessage But Instead OnPlayerConnect! [HELP] -
Flashy - 02.06.2010
And How can I show only 1 name from me?
Like when I connect my name is left and when I disconnect my name is right?
Re: SendDeathMessage But Instead OnPlayerConnect! [HELP] -
Toni - 02.06.2010
Quote:
Originally Posted by Flashy
And How can I show only 1 name from me?
Like when I connect my name is left and when I disconnect my name is right?
|
try messing with the SendDeathMessage(playerid, playerid, 200); & SendDeathMessage(playerid, playerid, 201);