04.11.2012, 16:59
Okay, This is my last question.
new kills = PlayerInfo[playerid][pKills];//Is that right?
new kills = PlayerInfo[playerid][pKills];//Is that right?
PHP код:
public OnPlayerConnect(playerid)
{
new MSG[250];
new Name[MAX_PLAYER_NAME];
GetPlayerName(playerid,Name,sizeof(Name));
new Ip[256];
GetPlayerIp(playerid,Ip,sizeof(Ip));
new score = GetPlayerScore(playerid);
new ping = GetPlayerPing(playerid);
new kills = PlayerInfo[playerid][pKills];//Is that right?
format(MSG,sizeof(MSG),"Player %s | IP: %s | Score: %s | Ping: %i | Kills: %s has entered in the server", Name, Ip, score, ping, kills);
SendClientMessageToAll(GREEN,MSG);
return 1;
}