14.11.2011, 16:26
Hello!
this code is having a problem with playerid, can any one please fix it ?
this code is having a problem with playerid, can any one please fix it ?
pawn Код:
CMD:country(playerid,params[]) {
if(isnull(params)) return SendClientMessage(playerid, red, "USAGE: /Country [playerid]");
new player1 = strval(params), string[128];
new dsname[MAX_PLAYER_NAME];
GetPlayerName(playerid, dsname, sizeof(dsname));
format(string, sizeof(string), "** %s [ID: %s] Country: %s", dsname,player1,GetPlayerCountryName(player1));
SendClientMessage(playerid,green, string);
return 1;}