[HELP] ZCMD Anti-WeaponHack
#7

Quote:
Originally Posted by Kar
Посмотреть сообщение
mama mama ma mama mama ma ma my murda

pawn Код:
CMD:wh(playerid, params[])
{
    if(IsPlayerConnected(playerid))
    {
        if(!PlayerInfo[playerid][pLogged]) return SendClientMessage(playerid, COLOR_WHITE, "SERVER: You need to be logged in to excute a command.");
        if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_WHITE, "SERVER: You are not an admin.");
        if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /wh [id]");
        new message[128];
        if(GetPlayerWeapon(playerb) != PlayerInfo[playerb][pWeapon1]) return SendClientMessage(playerid, COLOR_YELLOW, "Anti-WH: Weapon is not in Slot 1.");
        if(GetPlayerWeapon(playerb) != PlayerInfo[playerb][pWeapon2]) return SendClientMessage(playerid, COLOR_YELLOW, "Anti-WH: Weapon is not in Slot 2.");
        if(GetPlayerWeapon(playerb) != PlayerInfo[playerb][pWeapon3]) return SendClientMessage(playerid, COLOR_YELLOW, "Anti-WH: Weapon is not in Slot 3.");
        format(message, sizeof(message), "Anti-WH: %s was checked for Weapon Hacks.", ReturnPlayerName(playerb));
        SendClientMessageToAll(COLOR_YELLOW, message);
    }
    return 1;
}
Still same issue.
Reply


Messages In This Thread
[HELP] ZCMD Anti-WeaponHack - by Dudits - 24.07.2010, 23:22
Re: [HELP] ZCMD Anti-WeaponHack - by iggy1 - 24.07.2010, 23:51
Re: [HELP] ZCMD Anti-WeaponHack - by Dudits - 24.07.2010, 23:59
Re: [HELP] ZCMD Anti-WeaponHack - by iggy1 - 25.07.2010, 00:13
Re: [HELP] ZCMD Anti-WeaponHack - by Dudits - 25.07.2010, 00:25
Re: [HELP] ZCMD Anti-WeaponHack - by Kar - 25.07.2010, 01:12
Re: [HELP] ZCMD Anti-WeaponHack - by Dudits - 25.07.2010, 01:25
Re: [HELP] ZCMD Anti-WeaponHack - by Kar - 25.07.2010, 01:35
Re: [HELP] ZCMD Anti-WeaponHack - by willsuckformoney - 25.07.2010, 01:39
Re: [HELP] ZCMD Anti-WeaponHack - by Kar - 25.07.2010, 01:43

Forum Jump:


Users browsing this thread: 1 Guest(s)