24.11.2012, 15:40
Hello I have been ****** searching for the past 45 minutes now. I can find nothing about Login and Logout icons. I find how to add the death icons (Which I have already did) But I want the Login and Logout ones as well! I can't even find a picture to post here for you all but your smart so youll know what im talking about.
It is just like the icons when a player dies or is killed it will display who killed them then a little gun icon of fall icon or explosion icon ect ect. Then the player who died and its off on the right hand side of the server. I want icons to appear there when a player logs in as well as when they log out. I know its possible I have seen it done. Please help and +Rep to all who help.
EDIT YOYO posted this to me:
public OnPlayerConnect(playerid)
{
SendDeathMessage(-1, playerid, 200);
}
public OnPlayerDisconnect(playerid, reason)
{
SendDeathMessage(-1, playerid, 201);
}
He knows what he is doing but are you sure im supposed to send a deathmessage? Its for loging in and out?
It is just like the icons when a player dies or is killed it will display who killed them then a little gun icon of fall icon or explosion icon ect ect. Then the player who died and its off on the right hand side of the server. I want icons to appear there when a player logs in as well as when they log out. I know its possible I have seen it done. Please help and +Rep to all who help.
EDIT YOYO posted this to me:
public OnPlayerConnect(playerid)
{
SendDeathMessage(-1, playerid, 200);
}
public OnPlayerDisconnect(playerid, reason)
{
SendDeathMessage(-1, playerid, 201);
}
He knows what he is doing but are you sure im supposed to send a deathmessage? Its for loging in and out?