GTA Közösség - A magyar GTA fórum

San Andreas Multiplayer (SA-MP) => SA-MP: Szerverfejlesztés => Segítségkérés => A témát indította: zumzum1 - 2012. augusztus 06. - 21:14:28

Cím: DT mod ház parancs
Írta: zumzum1 - 2012. augusztus 06. - 21:14:28
if(strcmp(cmd, \"/házrak\", true) == 0)
        {
            if(IsPlayerConnected(playerid))
                {
                        if(PlayerInfo[playerid][pAdmin] != 4)
                        {
                                return 1;
                        }
                        tmp = strtok(cmdtext, idx);
                        if(!strlen(tmp))
                        {
                            SendClientMessage(playerid, COLOR_GRAD2, \"SYNTAX: /houseentrance [houseid] - Moves a house to you\");
                                return 1;
                        }
                        new proplev = strval(tmp);
                        if(proplev > sizeof(HouseInfo) || proplev < 0)
                        {
                            //SendClientMessage(playerid,COLOR_WHITE,\"House ID must be above 0 and below 33\");
                            return 1;
                        }
                        else
                        {
                            new Float:X,Float:Y,Float:Z;
                            GetPlayerPos(playerid,X,Y,Z);
                            format(string,sizeof(string),\"Entrance of House %d to %f - %f - %f\",proplev,X,Y,Z);
                        ABroadCast(COLOR_YELLOW,string,5);
                                HouseInfo[proplev][hEntrancex] = X;
                                HouseInfo[proplev][hEntrancey] = Y;
                                HouseInfo[proplev][hEntrancez] = Z;
                                OnPropUpdate();
                                return 1;
                        }
                }
    }

 
hogyan tudna ez aparancs házat lerakni :S elõre is kõsz
Cím: DT mod ház parancs
Írta: tonyo - 2012. augusztus 06. - 21:48:15
Ez a parancs sehogy, ez a parancs csak bejárat áthelyezésére képes.
Cím: DT mod ház parancs
Írta: zumzum1 - 2012. augusztus 06. - 22:07:55
és tudsz nekem egy parancsot csinálni rá hogy le tudjon rakni :O :D
Cím: DT mod ház parancs
Írta: tonyo - 2012. augusztus 06. - 23:13:06
Õszintén szólva nem ismerem ezt a modot szerintem :) Bár ennyibõl nem nagyon tudom megállapítani :D
Cím: DT mod ház parancs
Írta: Kovacs_Bela - 2012. augusztus 06. - 23:24:18
Desert Towns mód a neve.. ,,jobb\" nevén OX mód... Vagy afterlife.... ugyan az!
Házat a hazak.cfg-be bekonfigolva lehet ,,lerakni\"
 
Idézetet írta: zumzum1 date=1344283675\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"25651\" data-ipsquote-contentclass=\"forums_Topic
és tudsz nekem egy parancsot csinálni rá hogy le tudjon rakni :O :D
 
kérdõjel luxus?