22.09.2011, 13:59
18728 this is the id... just a question... for lux admin we need to use : "If(IsPlayerVipMember(playerid))"
but there isnt any line with that...isnt that script wrong? :O
like this :
if(strcmp(cmd, "/healme", true) == 0)
{
if(IsPlayerVipType(playerid,2))
{
SetPlayerHealth(playerid, 100);
}
else SendClientMessage(playerid, COLOR_WHITE, "ERROR: You not is a Silver or Gold Member!");
return 1;
}
and.. i just need to type that script you wrote to use it as a filter script or i should add someother things to script?
but there isnt any line with that...isnt that script wrong? :O
like this :
if(strcmp(cmd, "/healme", true) == 0)
{
if(IsPlayerVipType(playerid,2))
{
SetPlayerHealth(playerid, 100);
}
else SendClientMessage(playerid, COLOR_WHITE, "ERROR: You not is a Silver or Gold Member!");
return 1;
}
and.. i just need to type that script you wrote to use it as a filter script or i should add someother things to script?