07.08.2013, 12:01 
	
	
	
		How to do this ?
	
	
	
	
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, -1, "You need to be RCON");
CMD:godmode(pid,params[])
{
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, -1, "You need to be an RCON administrator to use this command!");// if player is not RCON admin sends him this message else executes the code.
{
SetPlayerHealth(pid, 999999);
SendClientMessage(pid, -1,"God Mode {00FF00}On");
}
return 1;
}
| Are you using a command processor like zcmd or strcmp Ill give you a god mode cmd using zcmd to help you pawn Код: 
 | 
CMD:godmode(pid,params[])
{
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, -1, "You need to be an RCON administrator to use this command!");// if player is not RCON admin sends him this message else executes the code.
SetPlayerHealth(pid, 999999);
SendClientMessage(pid, -1,"God Mode {00FF00}On");
return 1;
}