[Tutorial] [TUT]Admin Only Command for anything!!
#9

Quote:
Originally Posted by Joe Staff
Alright fine, you set your people's health to Infinity by IEEE standards ^.^

It doesn't need to be infinity, just needs to be enough so the person won't die... anytime today.
Ok, ok SetPlayerHealth(playerid, INFINITY); just looks neater.
Also instead of:
pawn Code:
if (strcmp("/cctv", cmdtext, true) == 0)
This:
pawn Code:
if (!strcmp("/cctv", cmdtext, true))
Both work
Reply


Messages In This Thread
[TUT]Admin Only Command for anything!! - by DEJORDZTA - 11.08.2009, 06:08
Re: [TUT]Admin Only Command for anything!! - by CracK - 11.08.2009, 06:11
Re: [TUT]Admin Only Command for anything!! - by DarkClone - 11.08.2009, 06:14
Re: [TUT]Admin Only Command for anything!! - by ruarai - 11.08.2009, 06:29
Re: [TUT]Admin Only Command for anything!! - by Joe Staff - 11.08.2009, 06:32
Re: [TUT]Admin Only Command for anything!! - by CracK - 11.08.2009, 06:46
Re: [TUT]Admin Only Command for anything!! - by Joe Staff - 11.08.2009, 06:48
Re: [TUT]Admin Only Command for anything!! - by Woet - 11.08.2009, 07:26
Re: [TUT]Admin Only Command for anything!! - by CracK - 11.08.2009, 08:59
Re: [TUT]Admin Only Command for anything!! - by Burridge - 11.08.2009, 14:46

Forum Jump:


Users browsing this thread: 1 Guest(s)