Quote:
Originally Posted by Ironboy
Yes show that function only not the hole script.
pawn Код:
CMD:godp(playerid,params[]) { new pname[24], targetid, string[128]; if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, -1, "SERVER: Unknown Command."); if(sscanf(params,"u",targetid)) return SendClientMessage(playerid,-1,"USAGE: /godp [playerid]");
SetPlayerHealth(targetid,100000); return 1; }
In this command the function about "Player (2) has given you god mode. " is not there.
|
I know.. None of those messages are. That's what I'm asking help on. How to add those messages and disable the god mode when you type the cmd in again..