License/ID help
#2

pawn Код:
if(strcmp(cmd, "/license", true) == 0)
    {
    if(PlayerInfo[playerid][pLicKey] == 1)
    {
    SendClientMessage(playerid,COLOR_RED," You have License!");
    }
    else
    {
    SendClientMessage(playerid,COLOR_RED," You Dont Have License!");
    }
    return 1;
use sscanf and i recommend zcmd instead of strcmp

by:

new id;
if(!sscanf(params, "u", id))
Reply


Messages In This Thread
License/ID help - by sherlock - 05.02.2012, 14:49
Re: License/ID help - by milanosie - 05.02.2012, 14:54

Forum Jump:


Users browsing this thread: 2 Guest(s)