Need help!!
#10

you will find in the Garhouse.pwn a think like this :

pawn Код:
CMD:gotohouse(playerid, params[])
{
    new h;
    if(!IsPlayerAdmin(playerid)) return 0;
    if(sscanf(params, "d", h)) return ShowInfoBoxEx(playerid, COLOUR_SYSTEM, E_CMD_USAGE_GOTOHOUSE);
    if(!fexist(HouseFile(h))) return ShowInfoBoxEx(playerid, COLOUR_SYSTEM, E_INVALID_HID);
    SetPlayerPosEx(playerid, hInfo[h][SpawnOutX], hInfo[h][SpawnOutY], hInfo[h][SpawnOutZ], hInfo[h][SpawnInterior], hInfo[h][SpawnWorld]);
    ShowInfoBox(playerid, I_TELEPORT_MSG, h);
    return 1;
}


Replace it with this :


pawn Код:
CMD:gotohouse(playerid, params[])
{
    new h;
    if(sscanf(params, "d", h)) return ShowInfoBoxEx(playerid, COLOUR_SYSTEM, E_CMD_USAGE_GOTOHOUSE);
    if(!fexist(HouseFile(h))) return ShowInfoBoxEx(playerid, COLOUR_SYSTEM, E_INVALID_HID);
    SetPlayerPosEx(playerid, hInfo[h][SpawnOutX], hInfo[h][SpawnOutY], hInfo[h][SpawnOutZ], hInfo[h][SpawnInterior], hInfo[h][SpawnWorld]);
    ShowInfoBox(playerid, I_TELEPORT_MSG, h);
    return 1;
}

Use CTRL + F and search for : CMD:gotohouse , hope that help
Reply


Messages In This Thread
Need help!! - by beeso14 - 23.07.2011, 18:22
Re: Need help!! - by lukekroll - 23.07.2011, 18:24
Re: Need help!! - by beeso14 - 23.07.2011, 19:46
Re: Need help!! - by -CaRRoT - 23.07.2011, 20:08
Re: Need help!! - by alpha500delta - 24.07.2011, 08:25
Re: Need help!! - by beeso14 - 27.07.2011, 00:53
Re: Need help!! - by beeso14 - 27.07.2011, 01:36
Re: Need help!! - by beeso14 - 27.07.2011, 01:40
Re: Need help!! - by beeso14 - 30.07.2011, 05:14
Re: Need help!! - by -CaRRoT - 30.07.2011, 05:40

Forum Jump:


Users browsing this thread: 1 Guest(s)