check command [REP++]
#3

Quote:
Originally Posted by Dziugsas
Посмотреть сообщение
add in your playerinfo enum bool:License

pawn Код:
CMD:check(playerid,params[])
{
    new targetid;
    if(sscanf(params,"d",targetid)) return SendClientMessage(playerid,-1,"Usage: /check [playerid]")
    if(pInfo[targetid][License] == true)
    {
        SendClientMessage(playerid,-1,"Player has a license.");
    }
    else SendClientMessage(playerid,-1,"Player doesnt have a license.")
    return 1;
}
If it work i will rep you
Reply


Messages In This Thread
check command [REP++] - by nezo2001 - 11.12.2014, 12:37
Re: check command [REP++] - by Dziugsas - 11.12.2014, 12:42
Re: check command [REP++] - by nezo2001 - 11.12.2014, 12:44

Forum Jump:


Users browsing this thread: 1 Guest(s)