20.07.2014, 08:59
Hello Sa-Mp Forums.
i have a God Mode command which use rsi/r_health :
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
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;
}
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