Quote:
Originally Posted by Iloveimpulse
- How to show ID like Deadly[6]
How to add that when player connects like this one and when he disconnects also if he dies show a death icon
Also How to make a Welcome Dialog after Players Login. Im using LuXadmin
|
For The id go under OnPlayerText:
PHP код:
if(IsPlayerConnected(playerid))
{
new idMSG[150];
format(idMSG,sizeof(idMSG),"%s [%d]: {FFFFFF}%s", PlayerName(playerid), playerid, text);
SendClientMessageToAll(GetPlayerColor(playerid), idMSG);
return 1;
}
For The Death Window: under OnPlayerDisconnect:
PHP код:
SendDeathMessage(INVALID_PLAYER_ID, playerid,201);
Under OnPlayerConnect:
PHP код:
SendDeathMessage(INVALID_PLAYER_ID, playerid, 200);
and for the dialog goto OnPlayerConnect:
PHP код:
ShowPlayerDialog(playerid,DIALOG_STYLE_MSGBOX,"Your Server Name","Welcome To Your server's name, And Enjoy Your Stay");
and rep+ me if u like them

Im Always Slow