help me in bug and crash plzzz
#6

id


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;
}
Reply


Messages In This Thread
help me in bug and crash plzzz - by Alexander1234 - 27.08.2015, 12:49
Re: help me in bug and crash plzzz - by Michael B - 27.08.2015, 12:53
Re: help me in bug and crash plzzz - by Alexander1234 - 27.08.2015, 12:54
Re: help me in bug and crash plzzz - by Michael B - 27.08.2015, 13:01
Re: help me in bug and crash plzzz - by Alexander1234 - 27.08.2015, 13:31
Re: help me in bug and crash plzzz - by Alexander1234 - 27.08.2015, 13:34
Re: help me in bug and crash plzzz - by Luke_James - 27.08.2015, 15:36

Forum Jump:


Users browsing this thread: 1 Guest(s)