must be assigned to an array
#9

pawn Код:
dcmd_changeakey(playerid, params[])
{
    new key, string[126];
    if(!(PlayerInfo[playerid][pAdmin] >= 1)) return 0;
    if(sscanf(params, "i", key)) return SendClientMessage(playerid, COLOR_GREY, "* Usuage: /changeakey [4 digits]");
    if(key > 9999 || key < 1000) return SendClientMessage(playerid, COLOR_LIGHTRED, "* Your security key must be 4 digits long only !");
    PlayerInfo[playerid][pSecKey] = key;
    format(string, sizeof(string), "* Security key changed to: %d !", key);
    SendClientMessage(playerid, COLOR_GREY, string);
    return 1;
}
Reply


Messages In This Thread
must be assigned to an array - by Jack_Leslie - 02.10.2011, 08:05
Re: must be assigned to an array - by Pharrel - 02.10.2011, 08:08
Re: must be assigned to an array - by Jafet_Macario - 02.10.2011, 08:09
Re: must be assigned to an array - by Jack_Leslie - 02.10.2011, 08:12
Re: must be assigned to an array - by [MWR]Blood - 02.10.2011, 08:15
Re: must be assigned to an array - by Pharrel - 02.10.2011, 08:18
Re: must be assigned to an array - by Jack_Leslie - 02.10.2011, 08:18
Re: must be assigned to an array - by =WoR=G4M3Ov3r - 02.10.2011, 08:21
Re: must be assigned to an array - by Jafet_Macario - 02.10.2011, 08:22
Re: must be assigned to an array - by [MWR]Blood - 02.10.2011, 08:22

Forum Jump:


Users browsing this thread: 2 Guest(s)