13.06.2014, 05:23
in GarHouse System
there are command /gotohouse
but that is just allowed for RCON Admin
How to change allowed for players? :/
REP+ If you can help me!
there are command /gotohouse
but that is just allowed for RCON Admin
How to change allowed for players? :/
Код:
//============================================================================== // This command is used to teleport to a house. //============================================================================== CMD:gotohouse(playerid, params[]) { new h; if(!IsPlayerAdmin(playerid)) return 1; 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; }