05.08.2013, 09:57
Quote:
so how would i use this so that OnPlayerConnect the players country goes into a log?
|
pawn Код:
public OnPlayerConnect(playerid)
{
new name[MAX_PLAYER_NAME], country[MAX_COUNTRY_NAME], gmt;
GetPlayerName(playerid, name, sizeof(name));
country = GetPlayerCountryName(playerid);
gmt = GetPlayerGMT(playerid);
printf("[JOIN] %s (%s, GMT %d:00)", name, country, gmt);
return 1;
}