Something wrong [+REP]
#1

PHP код:
//==============================================================================
dcmd_house(playeridparams[])
{
    
#pragma unused params
    
if (PlayerInfo[playerid][pSpawn] > 0){
    new 
Houseid PlayerInfo[playerid][pLastOutSideID];
    
    new 
string[256];
    
    if (
GetPlayerVirtualWorld(playerid) > && HouseInfo[Houseid][h_cptype] == CP_TYPE_HOUSE)
    {
    
//format(string, sizeof(string), "~p~%s~n~~w~Owner: ~b~%s~n~~w~For Sale ~g~$%d",HouseInfo[Houseid][h_HouseName],HouseInfo[Houseid][h_OwnerName],HouseInfo[Houseid][h_Value]);
    //format(string, sizeof(string), "~p~%s~n~~w~Owner: ~b~%s~n~~w~Property Value ~g~$%d",HouseInfo[Houseid][h_HouseName],HouseInfo[Houseid][h_OwnerName],HouseInfo[Houseid][h_Value]);
    
if (HouseData[Houseid][h_OwnerID] > -1)
    {
    
//If Playerid is Owner
    
ShowTextDrawMenu(playeridTD_MENU_HOUSE_OWNER_OPTIONS,"~g~House Owner"120);
    
//if (HouseData[Houseid][h_ForSale] == 0)format(string, sizeof(string), "~p~%s~n~~w~Owner: ~b~%s~n~~w~For Sale ~g~$%d",HouseInfo[Houseid][h_HouseIntName],HouseData[Houseid][h_OwnerName],HouseData[Houseid][h_Value]);
    //else format(string, sizeof(string), "~p~%s~n~~w~Owner: ~b~%s",HouseInfo[Houseid][h_HouseIntName],HouseData[Houseid][h_OwnerName]);
    
format(stringsizeof(string), "~p~%s",HouseInfo[Houseid][h_HouseIntName]);
    
ShowTextDrawMenuItems(playerid0string" "" ",0);
    
ShowTextDrawMenuItems(playerid1,  " "" "" ",0);
    
ShowTextDrawMenuItems(playerid2,  " "" "" ",0);
    
ShowTextDrawMenuItems(playerid3" ""~y~1 ~w~- Details"" ",0);
    
ShowTextDrawMenuItems(playerid4" ""~y~2 ~w~- Storage"" ",0);
    
ShowTextDrawMenuItems(playerid5" ""~y~3 ~w~- Set Name"" ",0);
    
ShowTextDrawMenuItems(playerid6" ""~y~4 ~w~- Set Price"" ",0);
    
ShowTextDrawMenuItems(playerid7" ""~y~5 ~w~- Set Rent"" ",0);
    
ShowTextDrawMenuItems(playerid8" ""~y~6 ~w~- Set Lock"" ",0);
    
ShowTextDrawMenuItems(playerid9" ""~y~7 ~w~- Set Alarm"" ",0);
    
ShowTextDrawMenuItems(playerid10" ""~y~8 ~w~- Sell House"" ",0);
    
    }else{
    
    
//If Playerid is not Owner
    
    //if (HouseData[Houseid][h_Rent] == 0)
    //{
    
    
ShowTextDrawMenu(playeridTD_MENU_HOUSE_MAIN_OPTIONS,"~g~House"82);
    if (
HouseData[Houseid][h_ForSale] == 0)format(stringsizeof(string), "~p~%s~n~~w~Owner: ~b~%s~n~~w~For Sale ~g~$%d",HouseInfo[Houseid][h_HouseIntName],HouseData[Houseid][h_OwnerName],HouseData[Houseid][h_Value]);
    else 
format(stringsizeof(string), "~p~%s~n~~w~Owner: ~b~%s",HouseInfo[Houseid][h_HouseIntName],HouseData[Houseid][h_OwnerName]);
    
ShowTextDrawMenuItems(playerid0string" "" ",0);
    
ShowTextDrawMenuItems(playerid1,  " "" "" ",0);
    
ShowTextDrawMenuItems(playerid2,  " "" "" ",0);
    
ShowTextDrawMenuItems(playerid3,  " "" "" ",0);
    
ShowTextDrawMenuItems(playerid4,  " "" "" ",0);
    
ShowTextDrawMenuItems(playerid5" ""~y~1 ~w~- House Details"" ",0);
    
ShowTextDrawMenuItems(playerid6" ""~y~2 ~w~- House Storage"" ",0);
    
    
/*}else{
    ShowTextDrawMenu(playerid, TD_MENU_HOUSE_MAIN_OPTIONS,"~g~House", 8, 2);
    format(string, sizeof(string), "~p~%s~n~~w~Owner: ~b~%s~n~~w~For Rent ~g~$%d ~w~/ Day",HouseInfo[Houseid][h_HouseIntName],HouseData[Houseid][h_OwnerName],HouseData[Houseid][h_Rent]);
    ShowTextDrawMenuItems(playerid, 0, string, " ", " ",0);
    ShowTextDrawMenuItems(playerid, 1,  " ", " ", " ",0);
    ShowTextDrawMenuItems(playerid, 2,  " ", " ", " ",0);
    ShowTextDrawMenuItems(playerid, 3,  " ", " ", " ",0);
    ShowTextDrawMenuItems(playerid, 4,  " ", " ", " ",0);
    ShowTextDrawMenuItems(playerid, 5, " ", "~y~1 ~w~- House Details", " ",0);
    ShowTextDrawMenuItems(playerid, 6, " ", "~y~2 ~w~- House Storage", " ",0);
    }*/
    
    
}
    }else{
    
SendClientMessage(playeridCOLOR_ERROR"You Must Be Inside A House To Use This Command.");
    }
    }else{
    
SendClientMessage(playeridCOLOR_ERROR"You Cannot Use This Command When You're Dead.");
    }
    return 
1;

PHP код:
        case TD_MENU_HOUSE_OWNER_OPTIONS:
        {
        if (
Option != -1)
        {
        if (
Option >= && Option <= Menu_Options[playerid] )
        {
            
HideTextDrawMenu(playerid);
   
CP PlayerInfo[playerid][pLastOutSideID];
            switch (
Option)
            {
                case 
1://TD_MENU_HOUSE_DETAILS
                
{
                
ShowTextDrawMenu(playeridTD_MENU_HOUSE_MAIN_OPTIONS,"~g~House Options"80);
                if (
HouseData[CP][h_ForSale] == 0)format(stringsizeof(string), "~p~%s~n~~w~Owner: ~b~%s~n~~w~For Sale ~g~$%d",HouseInfo[CP][h_HouseIntName],HouseData[CP][h_OwnerName],HouseData[CP][h_Value]);
                else 
format(stringsizeof(string), "~p~%s~n~~w~Owner: ~b~%s",HouseInfo[CP][h_HouseIntName],HouseData[CP][h_OwnerName]);
       
ShowTextDrawMenuItems(playerid0string" "" ",0);
                
ShowTextDrawMenuItems(playerid1,  " "" "" ",0);
                
ShowTextDrawMenuItems(playerid2,  " "" "" ",0);
                
ShowTextDrawMenuItems(playerid3,  " "" "" ",0);
                
ShowTextDrawMenuItems(playerid4,  " "" "" ",0);
                
ShowTextDrawMenuItems(playerid5" ""~y~1 ~w~- House Details"" ",0);
                
ShowTextDrawMenuItems(playerid6" ""~y~2 ~w~- House Storage"" ",0);
                }
                
                case 
2://TD_MENU_HOUSE_STORAGE
                
{
                
ShowTextDrawMenu(playeridTD_MENU_HOUSE_STORAGE,"~g~House Storage"100);
                
format(stringsizeof(string), "~p~%s~n~~w~Owner: ~b~%s",HouseInfo[CP][h_HouseIntName],HouseData[CP][h_OwnerName]);
                
ShowTextDrawMenuItems(playerid0string" "" ",0);
                
ShowTextDrawMenuItems(playerid1,  " "" "" ",0);
                
ShowTextDrawMenuItems(playerid2,  " "" "" ",0);
                
ShowTextDrawMenuItems(playerid3,  " "" "" ",0);
                
ShowTextDrawMenuItems(playerid4,  " "" "" ",0);
                
ShowTextDrawMenuItems(playerid5" ""~y~1 ~w~- Store Money"" ",0);
                
ShowTextDrawMenuItems(playerid6" ""~y~2 ~w~- Store Drugs"" ",0);
                
ShowTextDrawMenuItems(playerid7" ""~y~3 ~w~- Take Money"" ",0);
                
ShowTextDrawMenuItems(playerid8" ""~y~4 ~w~- Take Drugs"" ",0);
                }
                
                case 
3://TD_MENU_HOUSE_SET_NAME
                
{
                
ShowTextDrawMenu(playeridTD_MENU_HOUSE_SET_NAME,"~g~House Name"80);
                
format(stringsizeof(string), "House Name:~n~~p~%s~n~ ~n~~w~Press ~y~F6 ~w~(or ~y~T~w~) and Enter A New Name~n~Maximum ~b~48 ~w~Characters",HouseInfo[CP][h_HouseIntName]);
                
ShowTextDrawMenuItems(playerid0string" "" ",0);
                }
                
                case 
4://TD_MENU_HOUSE_SET_PRICE
                
{
                
ShowTextDrawMenu(playeridTD_MENU_HOUSE_SET_PRICE,"~g~House Price"80);
                
format(stringsizeof(string), "House Price:~n~~g~$%d~n~ ~n~~w~Press ~y~F6 ~w~(or ~y~T~w~) and Enter A House Price",HouseData[CP][h_Value]);
                
ShowTextDrawMenuItems(playerid0string" "" ",0);
                }
                
                case 
5://TD_MENU_HOUSE_SET_RENT
                
{
                
ShowTextDrawMenu(playeridTD_MENU_HOUSE_SET_RENT,"~g~House Rent"80);
                
format(stringsizeof(string), "House Rent:~n~~g~$%d~n~ ~n~~w~Press ~y~F6 ~w~(or ~y~T~w~) and Enter A Rent Price~n~Minimum ~p~$300~w~ / Day~n~Maximum ~p~$10000~w~ / Day",HouseData[CP][h_Rent]);
                
ShowTextDrawMenuItems(playerid0string" "" ",0);
                }
                case 
6://TD_MENU_HOUSE_SET_LOCK
                
{
                if (
HouseData[CP][h_Lock] > 0)
                {
                
SendClientMessage(playeridCOLOR_SERVER_HELP_MSG"House Locked");
                
HouseData[CP][h_Lock] = 0;
                }else{
                
SendClientMessage(playeridCOLOR_SERVER_HELP_MSG"House UnLocked");
                
HouseData[CP][h_Lock] = 1;
                }
                
                }
                case 
7://TD_MENU_HOUSE_SET_ALARM
                
{
                if (
HouseData[CP][h_Alarm] > 0)
                {
                
SendClientMessage(playeridCOLOR_SERVER_HELP_MSG"House Alarm Off");
                
HouseData[CP][h_Alarm] = 0;
                }else{
                
SendClientMessage(playeridCOLOR_SERVER_HELP_MSG"House Alarm On");
                
HouseData[CP][h_Alarm] = 1;
                }
                
                }
                
                case 
8://TD_MENU_HOUSE_SELL
                
{
                
CP PlayerInfo[playerid][pLastOutSideID];
                
                if (
HouseData[CP][h_RenterID] > -1)
                {
                new 
renterid HouseData[CP][h_RenterID];
                
SendClientMessage(renteridCOLOR_SERVER_HELP_MSG"Your House Rental Contract Has Been Cancelled (House Sold By Landlord).");
                
PlayerInfo[renterid][pHouseRent] = -1;
                }
                
HouseData[CP][h_OwnerID] = -1;
                
HouseData[CP][h_RenterID] = -1;
                
                
format(stringsizeof(string), "The Bank");
                
strmid(HouseData[CP][h_OwnerName], string0strlen(string), 256);
                
format(stringsizeof(string), "House");
                
strmid(HouseInfo[CP][h_HouseIntName], string0strlen(string), 256);
                
TextDrawSetString(ZoneName[playerid], string);
                
format(stringsizeof(string), "%s In %s",HouseInfo[CP][h_HouseIntName],HouseInfo[CP][h_HouseExtName]);
                
strmid(PlayerInfo[playerid][pLocation], string0strlen(string), 256);
                
format(stringsizeof(string), "None");
                
strmid(HouseData[CP][h_RenterName], string0strlen(string), 256);
                
format(stringsizeof(string), "You Have Sold Your House For $%d.",HouseData[CP][h_Value]);
                
SendClientMessage(playeridCOLOR_SERVER_HELP_MSGstring);
                
format(stringsizeof(string), "~w~HOUSE SOLD FOR~n~~g~$%i",HouseData[CP][h_Value]);
                
GameTextForPlayer(playerid,string,5000,4);
                
                
HouseData[CP][h_Lock] = 1;
                
HouseData[CP][h_Alarm] = 0;
                
HouseInfo[CP][h_cpmarker] = 31;
                
PlayerInfo[playerid][pHouse] = -1;
                
SaveProperty(CP);
                
HideTextDrawMenu(playerid);
                }
                
            }
        }else{
        
SendClientMessage(playeridCOLOR_ERROR"Selection Cancelled.");
        
HideTextDrawMenu(playerid);
        }
        }else{
        
SendClientMessage(playeridCOLOR_ERROR"Selection Cancelled.");
        
HideTextDrawMenu(playerid);
        }
        } 
Whats wrong Here dont have errors but idk dont work.
Reply
#2

Can't Detect the problem without errors !
Reply
#3

Dont have error's just is bug Idk what have -.-
Reply
#4

What is The Bug !?
Reply
#5

When i connect I go inside house use command /house After this remove all textdraws and send client message Selection canceled
Reply
#6

Why do you think it would work if you are commenting the textdraw's formations?
Here you go;
pawn Код:
dcmd_house(playerid, params[])
{
    #pragma unused params

    if (PlayerInfo[playerid][pSpawn] > 0){

    new Houseid = PlayerInfo[playerid][pLastOutSideID];
     
    new string[256];
     
    if (GetPlayerVirtualWorld(playerid) > 0 && HouseInfo[Houseid][h_cptype] == CP_TYPE_HOUSE)
    {

    format(string, sizeof(string), "~p~%s~n~~w~Owner: ~b~%s~n~~w~For Sale ~g~$%d",HouseInfo[Houseid][h_HouseName],HouseInfo[Houseid][h_OwnerName],HouseInfo[Houseid][h_Value]);
    format(string, sizeof(string), "~p~%s~n~~w~Owner: ~b~%s~n~~w~Property Value ~g~$%d",HouseInfo[Houseid][h_HouseName],HouseInfo[Houseid][h_OwnerName],HouseInfo[Houseid][h_Value]);

    if (HouseData[Houseid][h_OwnerID] > -1)
    {
    //If Playerid is Owner

    ShowTextDrawMenu(playerid, TD_MENU_HOUSE_OWNER_OPTIONS,"~g~House Owner", 12, 0);

    if (HouseData[Houseid][h_ForSale] == 0)format(string, sizeof(string), "~p~%s~n~~w~Owner: ~b~%s~n~~w~For Sale ~g~$%d",HouseInfo[Houseid][h_HouseIntName],HouseData[Houseid][h_OwnerName],HouseData[Houseid][h_Value]);
    else format(string, sizeof(string), "~p~%s~n~~w~Owner: ~b~%s",HouseInfo[Houseid][h_HouseIntName],HouseData[Houseid][h_OwnerName]);

    format(string, sizeof(string), "~p~%s",HouseInfo[Houseid][h_HouseIntName]);

    ShowTextDrawMenuItems(playerid, 0, string, " ", " ",0);
    ShowTextDrawMenuItems(playerid, 1,  " ", " ", " ",0);
    ShowTextDrawMenuItems(playerid, 2,  " ", " ", " ",0);
    ShowTextDrawMenuItems(playerid, 3, " ", "~y~1 ~w~- Details", " ",0);
    ShowTextDrawMenuItems(playerid, 4, " ", "~y~2 ~w~- Storage", " ",0);
    ShowTextDrawMenuItems(playerid, 5, " ", "~y~3 ~w~- Set Name", " ",0);
    ShowTextDrawMenuItems(playerid, 6, " ", "~y~4 ~w~- Set Price", " ",0);
    ShowTextDrawMenuItems(playerid, 7, " ", "~y~5 ~w~- Set Rent", " ",0);
    ShowTextDrawMenuItems(playerid, 8, " ", "~y~6 ~w~- Set Lock", " ",0);
    ShowTextDrawMenuItems(playerid, 9, " ", "~y~7 ~w~- Set Alarm", " ",0);
    ShowTextDrawMenuItems(playerid, 10, " ", "~y~8 ~w~- Sell House", " ",0);
     
    }else{
     
    //If Playerid is not Owner
     
    if (HouseData[Houseid][h_Rent] == 0)
   {
     
    ShowTextDrawMenu(playerid, TD_MENU_HOUSE_MAIN_OPTIONS,"~g~House", 8, 2);
    if (HouseData[Houseid][h_ForSale] == 0)format(string, sizeof(string), "~p~%s~n~~w~Owner: ~b~%s~n~~w~For Sale ~g~$%d",HouseInfo[Houseid][h_HouseIntName],HouseData[Houseid][h_OwnerName],HouseData[Houseid][h_Value]);
    else format(string, sizeof(string), "~p~%s~n~~w~Owner: ~b~%s",HouseInfo[Houseid][h_HouseIntName],HouseData[Houseid][h_OwnerName]);
    ShowTextDrawMenuItems(playerid, 0, string, " ", " ",0);
    ShowTextDrawMenuItems(playerid, 1,  " ", " ", " ",0);
    ShowTextDrawMenuItems(playerid, 2,  " ", " ", " ",0);
    ShowTextDrawMenuItems(playerid, 3,  " ", " ", " ",0);
    ShowTextDrawMenuItems(playerid, 4,  " ", " ", " ",0);
    ShowTextDrawMenuItems(playerid, 5, " ", "~y~1 ~w~- House Details", " ",0);
    ShowTextDrawMenuItems(playerid, 6, " ", "~y~2 ~w~- House Storage", " ",0);
     
    }else{

    ShowTextDrawMenu(playerid, TD_MENU_HOUSE_MAIN_OPTIONS,"~g~House", 8, 2);
    format(string, sizeof(string), "~p~%s~n~~w~Owner: ~b~%s~n~~w~For Rent ~g~$%d ~w~/ Day",HouseInfo[Houseid][h_HouseIntName],HouseData[Houseid][h_OwnerName],HouseData[Houseid][h_Rent]);
    ShowTextDrawMenuItems(playerid, 0, string, " ", " ",0);
    ShowTextDrawMenuItems(playerid, 1,  " ", " ", " ",0);
    ShowTextDrawMenuItems(playerid, 2,  " ", " ", " ",0);
    ShowTextDrawMenuItems(playerid, 3,  " ", " ", " ",0);
    ShowTextDrawMenuItems(playerid, 4,  " ", " ", " ",0);
    ShowTextDrawMenuItems(playerid, 5, " ", "~y~1 ~w~- House Details", " ",0);
    ShowTextDrawMenuItems(playerid, 6, " ", "~y~2 ~w~- House Storage", " ",0);

    }
     


    }



    }else{
    SendClientMessage(playerid, COLOR_ERROR, "You Must Be Inside A House To Use This Command.");
    }


    }else{
    SendClientMessage(playerid, COLOR_ERROR, "You Cannot Use This Command When You're Dead.");
    }
    return 1;
}
Reply
#7

C:\Users\Arlindi\Desktop\CnrxD\gamemodes\cnr.pwn(2 1599) : error 017: undefined symbol "h_HouseName"
C:\Users\Arlindi\Desktop\CnrxD\gamemodes\cnr.pwn(2 1600) : error 017: undefined symbol "h_HouseName"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Reply
#8

Add h_HouseName in you house info enum, and then it should be working.
You should also load and save the h_HouseName enum just as you are saving the other enums.
Reply
#9

Omg i cant do it
.

If i remove it have problem ?
Reply
#10

Try this
pawn Код:
dcmd_house(playerid, params[])
{
    #pragma unused params

    if (PlayerInfo[playerid][pSpawn] > 0){

    new Houseid = PlayerInfo[playerid][pLastOutSideID];
     
    new string[256];
     
    if (GetPlayerVirtualWorld(playerid) > 0 && HouseInfo[Houseid][h_cptype] == CP_TYPE_HOUSE)
    {

    format(string, sizeof(string), "~p~%s~n~~w~Owner: ~b~%s~n~~w~For Sale ~g~$%d",HouseInfo[Houseid][h_HouseIntName],HouseInfo[Houseid][h_OwnerName],HouseInfo[Houseid][h_Value]);
    format(string, sizeof(string), "~p~%s~n~~w~Owner: ~b~%s~n~~w~Property Value ~g~$%d",HouseInfo[Houseid][h_HouseIntName],HouseInfo[Houseid][h_OwnerName],HouseInfo[Houseid][h_Value]);

    if (HouseData[Houseid][h_OwnerID] > -1)
    {
    //If Playerid is Owner

    ShowTextDrawMenu(playerid, TD_MENU_HOUSE_OWNER_OPTIONS,"~g~House Owner", 12, 0);

    if (HouseData[Houseid][h_ForSale] == 0)format(string, sizeof(string), "~p~%s~n~~w~Owner: ~b~%s~n~~w~For Sale ~g~$%d",HouseInfo[Houseid][h_HouseIntName],HouseData[Houseid][h_OwnerName],HouseData[Houseid][h_Value]);
    else format(string, sizeof(string), "~p~%s~n~~w~Owner: ~b~%s",HouseInfo[Houseid][h_HouseIntName],HouseData[Houseid][h_OwnerName]);

    format(string, sizeof(string), "~p~%s",HouseInfo[Houseid][h_HouseIntName]);

    ShowTextDrawMenuItems(playerid, 0, string, " ", " ",0);
    ShowTextDrawMenuItems(playerid, 1,  " ", " ", " ",0);
    ShowTextDrawMenuItems(playerid, 2,  " ", " ", " ",0);
    ShowTextDrawMenuItems(playerid, 3, " ", "~y~1 ~w~- Details", " ",0);
    ShowTextDrawMenuItems(playerid, 4, " ", "~y~2 ~w~- Storage", " ",0);
    ShowTextDrawMenuItems(playerid, 5, " ", "~y~3 ~w~- Set Name", " ",0);
    ShowTextDrawMenuItems(playerid, 6, " ", "~y~4 ~w~- Set Price", " ",0);
    ShowTextDrawMenuItems(playerid, 7, " ", "~y~5 ~w~- Set Rent", " ",0);
    ShowTextDrawMenuItems(playerid, 8, " ", "~y~6 ~w~- Set Lock", " ",0);
    ShowTextDrawMenuItems(playerid, 9, " ", "~y~7 ~w~- Set Alarm", " ",0);
    ShowTextDrawMenuItems(playerid, 10, " ", "~y~8 ~w~- Sell House", " ",0);
     
    }else{
     
    //If Playerid is not Owner
     
    if (HouseData[Houseid][h_Rent] == 0)
   {
     
    ShowTextDrawMenu(playerid, TD_MENU_HOUSE_MAIN_OPTIONS,"~g~House", 8, 2);
    if (HouseData[Houseid][h_ForSale] == 0)format(string, sizeof(string), "~p~%s~n~~w~Owner: ~b~%s~n~~w~For Sale ~g~$%d",HouseInfo[Houseid][h_HouseIntName],HouseData[Houseid][h_OwnerName],HouseData[Houseid][h_Value]);
    else format(string, sizeof(string), "~p~%s~n~~w~Owner: ~b~%s",HouseInfo[Houseid][h_HouseIntName],HouseData[Houseid][h_OwnerName]);
    ShowTextDrawMenuItems(playerid, 0, string, " ", " ",0);
    ShowTextDrawMenuItems(playerid, 1,  " ", " ", " ",0);
    ShowTextDrawMenuItems(playerid, 2,  " ", " ", " ",0);
    ShowTextDrawMenuItems(playerid, 3,  " ", " ", " ",0);
    ShowTextDrawMenuItems(playerid, 4,  " ", " ", " ",0);
    ShowTextDrawMenuItems(playerid, 5, " ", "~y~1 ~w~- House Details", " ",0);
    ShowTextDrawMenuItems(playerid, 6, " ", "~y~2 ~w~- House Storage", " ",0);
     
    }else{

    ShowTextDrawMenu(playerid, TD_MENU_HOUSE_MAIN_OPTIONS,"~g~House", 8, 2);
    format(string, sizeof(string), "~p~%s~n~~w~Owner: ~b~%s~n~~w~For Rent ~g~$%d ~w~/ Day",HouseInfo[Houseid][h_HouseIntName],HouseData[Houseid][h_OwnerName],HouseData[Houseid][h_Rent]);
    ShowTextDrawMenuItems(playerid, 0, string, " ", " ",0);
    ShowTextDrawMenuItems(playerid, 1,  " ", " ", " ",0);
    ShowTextDrawMenuItems(playerid, 2,  " ", " ", " ",0);
    ShowTextDrawMenuItems(playerid, 3,  " ", " ", " ",0);
    ShowTextDrawMenuItems(playerid, 4,  " ", " ", " ",0);
    ShowTextDrawMenuItems(playerid, 5, " ", "~y~1 ~w~- House Details", " ",0);
    ShowTextDrawMenuItems(playerid, 6, " ", "~y~2 ~w~- House Storage", " ",0);

    }
     


    }



    }else{
    SendClientMessage(playerid, COLOR_ERROR, "You Must Be Inside A House To Use This Command.");
    }


    }else{
    SendClientMessage(playerid, COLOR_ERROR, "You Cannot Use This Command When You're Dead.");
    }
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)