Weapons Remove /god
#1

Hello Sa-Mp Forums.
i have a God Mode command which use rsi/r_health :

pawn Код:
#include <rSI\r_health>

CMD:god(playerid, params[])
{
    if(GodMode[playerid] == 0)
    {
        EnableGod(playerid);
        GodMode[playerid] = 1;
        SendClientMessage(playerid, 0x10F441AA, "You have Enabled your God Mode.");
    }
    else if(GodMode[playerid] == 1)
    {
        DisableGod(playerid);
        GodMode[playerid] = 0;
        SendClientMessage(playerid, 0x10F441AA, "You have Disabled your God Mode.");
        }
    return 1;
}
But the player keep having his/her Weapons

and i want to know how to remove his/her Weapons when he/she use /god but when he/she disable god his/her Weapons should be back with the same ammo and the same weapons.

Thank you
Reply


Messages In This Thread
Weapons Remove /god - by Andre02 - 20.07.2014, 08:59
Re: Weapons Remove /god - by GeekSiMo - 20.07.2014, 09:02
Re: Weapons Remove /god - by SHE790 - 20.07.2014, 09:53
Re: Weapons Remove /god - by GeekSiMo - 20.07.2014, 10:07
Re: Weapons Remove /god - by GShock - 20.07.2014, 10:23
Re: Weapons Remove /god - by GShock - 20.07.2014, 10:28
Re: Weapons Remove /god - by Andre02 - 20.07.2014, 11:26
Re: Weapons Remove /god - by GShock - 20.07.2014, 13:41
Re: Weapons Remove /god - by Andre02 - 21.07.2014, 07:26
Re: Weapons Remove /god - by GShock - 22.07.2014, 10:44

Forum Jump:


Users browsing this thread: 1 Guest(s)