uhh need help with gate pw...
#3

Got some error in that cmd what you gived..
pawn Код:
: error 029: invalid expression, assumed zero
: warning 215: expression has no effect
: error 001: expected token: ";", but found ")"
: error 029: invalid expression, assumed zero
: fatal error 107: too many error messages on one line
pawn Код:
CMD:admingatepw(playerid, params[])
{
    new string[128], gateid, pass[24];
    if(sscanf(params, "ds[24]", gateid, pass))
    return SendClientMessageEx(playerid, COLOR_WHITE, "USAGE: /admingatepw [gateid] [pass]");
    if(PlayerInfo[playerid][pAdmin] < && PlayerInfo[playerid][pShopTech] != 1)//this line
    return SendClientMessageEx(playerid, COLOR_GRAD1, "You are not authorized to use that command!");
    if(strlen(pass) >= 24)
    return SendClientMessageEx(playerid, COLOR_GRAD2, "Must be 24 characters or less!");
    format(string, sizeof(string), "Gate Password for gate %d changed to %s", gateid, pass), SendClientMessageEx(playerid, COLOR_GRAD2, string);
    GateInfo[gateid][gPass] = pass, SaveGates();
    return 1;
}
Reply


Messages In This Thread
uhh need help with gate pw... - by Scrillex - 27.10.2013, 17:25
Re: uhh need help with gate pw... - by Patrick - 27.10.2013, 17:31
Re: uhh need help with gate pw... - by Scrillex - 27.10.2013, 17:53
Re: uhh need help with gate pw... - by knackworst - 27.10.2013, 17:57
Re: uhh need help with gate pw... - by Scrillex - 27.10.2013, 18:02

Forum Jump:


Users browsing this thread: 1 Guest(s)