12.03.2012, 13:14
pawn Код:
////Frisk System
CMD:checkid(playerid, params[])
{
new ID;
if (sscanf(params, "u", ID)) return SendClientMessage(playerid, COLOR_LIGHTBLUE, "Usage: /Checkid [ID]");
new playername[24];
new string[128];
for (new i=0;i<13;i++)
{
SendClientMessage(playerid, COLOR_GREY, "-------------------------------------------------------------------------------------------------");
GetPlayerName(ID, playername,sizeof(playername));
format(string,sizeof(string),"Name: %s ", playername);
SendClientMessage(playerid, COLOR_GREY, string);
if(random(8) == 0) SendClientMessage(playerid, COLOR_GREY, "License Status: VALID");
else SendClientMessage(playerid, -1, "License Status: UNVALID");
SendClientMessage(playerid, COLOR_GREY, "-------------------------------------------------------------------------------------------------");
}
return 1;
}