CMD:i(playerid, params[])
{
new ID,string[300], string3[300], string4[128], name[60];
if(sscanf(params, "u", ID)) SendClientMessage(playerid, COLOR_WHITE, "USAGE: /i [id]");
else if(IsPlayerConnected(ID) == 0) SendClientMessage(playerid, COLOR_RED, "Player is not connected!");
else
{
HideDraw(playerid);
GetPlayerName(ID, name, 60);
CMD:i(playerid, params[]) { new ID,string[300], string3[300], string4[128], name[60]; if(sscanf(params, "u", playerid)) SendClientMessage(playerid, COLOR_WHITE, "USAGE: /i [id]"); else if(IsPlayerConnected(playerid) == 0) SendClientMessage(playerid, COLOR_RED, "Player is not connected!"); else { HideDraw(playerid); GetPlayerName(playerid, name, 60); |
CMD:i(playerid, params[]) { new ID,string[300], string3[300], string4[128], name[MAX_PLAYER_NAME]; if(sscanf(params, "u", ID)) SendClientMessage(playerid, COLOR_WHITE, "USAGE: /i [id]"); if(!IsPlayerConnected(ID)) SendClientMessage(playerid, COLOR_RED, "Player is not connected!"); //Here check if is connected the PlayerID that your type. HideDraw(ID);//Here hide the Draw of the PlayerID that you type, not your self GetPlayerName(ID, name, MAX_PLAYER_NAME);//Here is to get the PlayerID that you type, not your self |