07.03.2011, 01:26
death icons
07.03.2011, 01:30
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
SendDeathMessage(killerid, playerid, reason);
return 1;
}
07.03.2011, 01:35
you mean that all i have to do is add
SendDeathMessage(killerid, playerid, reason);
in oneplaerdeath ?
SendDeathMessage(killerid, playerid, reason);
in oneplaerdeath ?
07.03.2011, 01:40
Yeah, from what i just read on wiki
07.03.2011, 02:00
ok goona try it thanks
07.03.2011, 04:31
You have to add it for each weapon...you can't just add them all, or it'll spam when someones dies.
24.11.2012, 15:30
Rather then reopening a new post for this I will bring this one back alive. My question is this. I have already read wiki on how death messages are displayed. What I want is those icons when someone logs in and out rather then me adding a SendMessageToAll function. Im guessing it would be something close to this?
public OnPlayerConnect(playerid)
{
SendLoginMessage(playerid, reason);
}
As im looking at this I can tell it's completly wrong. And ****** hold to links for this -.- anyway any help earns Rep+ thanks in advance
public OnPlayerConnect(playerid)
{
SendLoginMessage(playerid, reason);
}
As im looking at this I can tell it's completly wrong. And ****** hold to links for this -.- anyway any help earns Rep+ thanks in advance
24.11.2012, 15:39
pawn Код:
public OnPlayerConnect(playerid)
{
SendDeathMessage(-1, playerid, 200);
}
public OnPlayerDisconnect(playerid, reason)
{
SendDeathMessage(-1, playerid, 201);
}
Sources:
https://sampwiki.blast.hk/wiki/Weapons
https://sampwiki.blast.hk/wiki/SendDeathMessage
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)