/ID Bug? *HELP*
#1

Quote:

}

CMD:id(playerid, params[])
{
new string[128], giveplayerid;
if(sscanf(params, "u", giveplayerid)) return SendClientMessageEx(playerid, COLOR_WHITE, "USAGE: /id [playerid]");

if(IsPlayerConnected(giveplayerid))
{
format(string, sizeof(string), "(ID: %d) - (Name: %s) - (Level: %d) - (Ping: %d)", giveplayerid, GetPlayerNameEx(giveplayerid), PlayerInfo[giveplayerid][pLevel], GetPlayerPing(giveplayerid));
SendClientMessageEx(playerid, COLOR_WHITE, string);
}
else
{
SendClientMessageEx(playerid, COLOR_GRAD1, "Invalid player specified.");
}
return 1;
}

That is my code for my /id
say id 1 was "A" and id 2 was "B"

i type /id 1 and it would say B instead of A

whats wrong with this? please help
Reply


Messages In This Thread
/ID Bug? *HELP* - by Jing_Chan - 01.01.2012, 09:30
Re: /ID Bug? *HELP* - by THE_KNOWN - 01.01.2012, 10:54
Re: /ID Bug? *HELP* - by Aira - 01.01.2012, 12:01
Re: /ID Bug? *HELP* - by Jing_Chan - 01.01.2012, 12:39
Re: /ID Bug? *HELP* - by vassilis - 01.01.2012, 12:41

Forum Jump:


Users browsing this thread: 1 Guest(s)