Rank system
#1

Hey SAMPheads

For my server I need a system to detect if a player logs in, like if I log on to my server it would say something like (Server Owner)Excelize has logged into xxxxx
Also for admins it would be like Administrator xxxx has logged in to xxxx
Sadly I cannot come to an idea of how to make this.. Could someone help me? I will give rep..
Thank you a lot
Reply
#2

Код:
public OnPlayerConnect(playerid)
{
if(IsPlayerAdmin(playerid))
{
new name[MAX_PLAYER_NAME];
new string[218];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "Admin %s connected!!", name);
SendClientMessageToAll(-1, string);
}
return 1;
}
Quote:

Darт rep ..

you do not have 50 posts
Reply
#3

Oh thank you, and sorry then, I don't know much about this forum..
Thank you and sorry for the inconvenience!
Reply
#4

controls better .. I made a mistake and now correct!


Quote:

Oh, grazie, e scusa allora, non so molto su questo forum ..
Grazie e scusate per l'inconveniente!

quiet
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)