12.01.2017, 11:57
(
Last edited by SyS; 12/01/2017 at 01:01 PM.
)
You can do the seths command simply like this
PHP Code:
COMMAND:seths(playerid, params[])
{
//replace with your admin system
if(IsPlayerAdmin(playerid))
{
HeadShotSystem = !HeadShotSystem;
new string11[109], pname[24];
GetPlayerName(playerid, pname, 24);
format(string11, sizeof(string11), "[Admin] Server admin %s(%d) has %s Headshot system!", pname,playerid,(HeadShotSystem)?("enabled"):("disabled"));
SendClientMessageToAll(-1, string11);
}
return 1;
}