Commands
#8

Quote:
Originally Posted by newbienoob
Посмотреть сообщение
This is just an example
pawn Код:
CMD:heal(playerid,params[])
{
    if(PlayerinMMDM[playerid] == 1) return SendClientMessage(playerid,-1,"You can't heal yourself while in dm!");
    SetPlayerHealth(playerid,100);
    return 1;
}
pawn Код:
CMD:heal(playerid,params[])
{
    if(PlayerinMMDM[playerid] == 0) return SendClientMessage(playerid,-1,"You can't heal yourself while in dm!");
    SetPlayerHealth(playerid,100);
    return 1;
}
u should use 0 = disable
1= enable
Reply


Messages In This Thread
Commands - by God'Z War - 17.09.2012, 21:18
Re: Commands - by antonio112 - 17.09.2012, 21:21
Re: Commands - by God'Z War - 17.09.2012, 21:37
Re: Commands - by mamorunl - 17.09.2012, 22:52
Re: Commands - by God'Z War - 22.09.2012, 11:20
Re: Commands - by newbienoob - 22.09.2012, 11:24
Re: Commands - by Pro_Drifter - 22.09.2012, 11:41
Re: Commands - by God'Z War - 22.09.2012, 12:18
Re: Commands - by mamorunl - 22.09.2012, 12:23

Forum Jump:


Users browsing this thread: 2 Guest(s)