20.12.2011, 21:47
pawn Код:
if(strcmp(cmd, "/license", true) == 0)
{
new id;
if(sscanf(params, "u", id))return SendClientMessage(playerid, -1, "Usage: /licenses [ID]");
if(PlayerInfo[playerid][pLicKey] == 1)
{
SendClientMessage(id,COLOR_RED,"Player have license!");
}
else
{
SendClientMessage(id,COLOR_RED,"Player havent licenses!");
}
return 1;