[Ajuda] ZCMD
#4

[php]
error 017: undefined symbol "cmd_admvcasaid"
PHP код:
if(dialogid == DialogoP(7))
    {
        if(
response == 1// esquerdo
        
{
            if(
listitem == 0)
            {
                
cmd_admvcasaid(playeridparams);
                
//OnPlayerCommandText(playerid,"/admvcasaid");
            

PHP код:
  CMD:admvcasaid(playeridparams[]) return cmd_admvcasaid(playeridparams);
{
    if(
IsPlayerConnected(playerid))
    {
        
GetPlayerName(playeridplayernamesizeof(playername));
        if (
PlayerInfo[playerid][pAdmin] >= 1340)
        {
            if(
admtrampando[playerid] < && PlayerInfo[playerid][pAdmin] != 3000)
            {
                
SendClientMessage(playerid, -1"Vocк nгo estб trabalhando! {E31919}(/trabalhar)");
                return 
1;
            }
            for(new 
House 0House sizeof(HouseInfo); House++)
            {
                if (
PlayerToPoint(3playerid,HouseInfo[House][hEntrancex], HouseInfo[House][hEntrancey], HouseInfo[House][hEntrancez]))
                {
                    
format(stringsizeof(string), "Casa: %d"House);
                    
SendClientMessage(playeridCOLOR_GRAD2string);
                    
HouseInfo[House][hHel] = 0;
                    
HouseInfo[House][hArm] = 0;
                    
HouseInfo[House][hHealthx] = 0;
                    
HouseInfo[House][hHealthy] = 0;
                    
HouseInfo[House][hHealthz] = 0;
                    
HouseInfo[House][hArmorrx] = 0;
                    
HouseInfo[House][hArmorry] = 0;
                    
HouseInfo[House][hArmorrz] = 0;
                    
HouseInfo[House][hLock] = 1;
                    
HouseInfo[House][hOwned] = 0;
                    
HouseInfo[House][hVec] = 475;
                    
HouseInfo[House][hVcol1] = -1;
                    
HouseInfo[House][hVcol2] = -1;
                    
strmid(HouseInfo[House][hOwner], "O estado"0strlen("O estado"), 255);
                    
PlayerPlaySound(playerid10520.00.00.0);
                    
format(stringsizeof(string), "~w~Voce vendeu a propriedade ID:%d"House);
                    
GameTextForPlayer(playeridstring100003);
                    
a3d();
                    
SalvarCasa(House);
                    return 
1;
                }
            }
        }
        else
        {
            
SendClientMessage(playeridCOLOR_GREY"Vocк nгo tem permissгo para usar esse comando !");
        }
    }
    return 
1;

Reply


Messages In This Thread
ZCMD - by PowerMwK - 14.03.2018, 13:22
Re: ZCMD - by Dayvison_ - 14.03.2018, 13:26
Re: ZCMD - by PowerMwK - 14.03.2018, 13:30
Re: ZCMD - by PowerMwK - 14.03.2018, 13:50
Re: ZCMD - by FerrariL - 14.03.2018, 13:56
Re: ZCMD - by PowerMwK - 14.03.2018, 13:59
Re: ZCMD - by PowerMwK - 14.03.2018, 14:06
Re: ZCMD - by FerrariL - 14.03.2018, 14:10
Re: ZCMD - by rolex - 14.03.2018, 14:41
Re: ZCMD - by PowerMwK - 14.03.2018, 14:47

Forum Jump:


Users browsing this thread: 1 Guest(s)