LuxAdmin Help
#1

I recently installed a gamemode and now i want to add luxadmin system to my gamemode. I dont know where to put if(strcmp(cmd, "/healme", true) == 0)
{
if(IsPlayerVipMember(playerid))
{
SetPlayerHealth(playerid, 100);
}
else SendClientMessage(playerid, COLOR_WHITE, "ERROR: You not is a Vip Member!");
return 1;
}
this type of texts bcoz i dont know anything about scripting cana anyone help me through teamviewer please!!
Reply
#2

put it in
public OnPlayerCommandText
{
//here ur lines
}
Reply
#3

Код:
public OnPlayerCommandText
{
if(strcmp(cmd, "/healme", true) == 0)
{
if(IsPlayerVipMember(playerid))
{
SetPlayerHealth(playerid, 100);
}
else SendClientMessage(playerid, COLOR_WHITE, "ERROR: You not is a Vip Member!");
return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)