10.08.2015, 18:08
Just check if PlayerAcc[playerid][God] returns 1 or 0. If returns 1, just make it display on or off. (The check must be done in the /whois command. I will give a example, but im not sure it will happen. It will still give you a base to work on.
CMD:whois(playerid, params[])
{
if(PlayerAcc[playerid][God] == 1)
{
SendClientMessage(playerid, blabla, "godmode on");
}
else
{
SendClientMessage(playerid, blabla, "godmode off");
}
return 1;
}
and so, with some basics you can integrate this into your code.
CMD:whois(playerid, params[])
{
if(PlayerAcc[playerid][God] == 1)
{
SendClientMessage(playerid, blabla, "godmode on");
}
else
{
SendClientMessage(playerid, blabla, "godmode off");
}
return 1;
}
and so, with some basics you can integrate this into your code.