code..
#7

Can you please fix this, i mean } else return SendClientMessage(playerid, red, "Player is not connected");}
pawn Код:
CMD:country(playerid,params[])
{
    new string[128],dsname[MAX_PLAYER_NAME];
    if(isnull(params)) return SendClientMessage(playerid, red, "USAGE: /Country [playerid]");
    new player1 = strval(params);
    GetPlayerName(player1, dsname, sizeof(dsname));
    format(string, sizeof(string), "** %s [ID: %s] Country: %s", dsname,player1,GetPlayerCountryName(player1));
    SendClientMessage(playerid,green, string);
 } else return SendClientMessage(playerid, red, "Player is not connected");}
Reply


Messages In This Thread
code.. - by RBTDM - 14.11.2011, 16:26
Re: code.. - by RBTDM - 14.11.2011, 16:32
Re: code.. - by RBTDM - 14.11.2011, 16:47
Re: code.. - by Unte99 - 14.11.2011, 16:48
Re: code.. - by RBTDM - 14.11.2011, 16:54
Re: code.. - by Unte99 - 14.11.2011, 16:58
Re: code.. - by RBTDM - 14.11.2011, 17:05
Re: code.. - by Unte99 - 14.11.2011, 17:10
Re: code.. - by RBTDM - 14.11.2011, 17:11
Re: code.. - by Unte99 - 14.11.2011, 17:16

Forum Jump:


Users browsing this thread: 1 Guest(s)