08.08.2012, 14:42
Hey guys, sorry for my english spelling faults.
My question is this, i would like to add to this
Retriction if, that only players with this configs
Only this players could see the command dialogue... how i can do it ?
My question is this, i would like to add to this
Код HTML:
if(strcmp(cmd, "/Trabajoilegal", true) == 0) /*Check*/
{
if(IsPlayerConnected(playerid))
{
if (!PlayerToPoint(5, playerid,1688.7321,-1974.2430,8.8203))//centerpoint 24-7
{
SendClientMessage(playerid, COLOR_GRAD2, " No estбs en un lugar para obtener trabajo нlegal !");
return 1;
}
ShowPlayerDialog(playerid,JOBS_CONTRATO, DIALOG_STYLE_MSGBOX, "Contrato para trabajo нlegal", "Para formar parte de un trabajo нlegal sea cual sea el trabajo que vayas a tomar tendrбs que firmar un contrato\nEl contrato es de 5 horas y al elegir el trabajo no hay vuelta atrбs y no podrбs salirte ((/Quitjob)) antes de las 5 horas\n їDeseas firmar el contrato?" , "Si", "No");
}
return 1;
}
Код HTML:
if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5) if(PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15) if(PlayerInfo[playerid][pMember] == 17 || PlayerInfo[playerid][pLeader] == 17) if(PlayerInfo[playerid][pMember] == 18 || PlayerInfo[playerid][pLeader] == 18) if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5) if(PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 14) if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6) if(PlayerInfo[playerid][pMember] == 12 || PlayerInfo[playerid][pLeader] == 12) if(PlayerInfo[playerid][pMember] == 21 || PlayerInfo[playerid][pLeader] == 21)

