[HELP]PENLS Help :/
#1

I recently got PENLS, (penls=penis lol) and I see that almost all of the houses are owned by players who arent even in the game! (In the scriptfiles I mean) so I tryed to get rid of them in propertys.cfg and replaced there names with The State. But then it said "The State" owned the house! Can someone help me here?

Greatly appreciated,
~FrazZ
Reply
#2

There is a pen1 topic made, read the house tutorial in there, and you'll get your answer.
Reply
#3

Haha stupid me :P kk thanks
Reply
#4

just add this to your script

pawn Код:
if(strcmp(cmd, "/sellallhouses", true) == 0 && IsPlayerConnected(playerid))
    {
        if ((IsPlayerAdmin(playerid)))
        {
          for(new all=0; all< sizeof(HouseInfo); all++)
          {
            HouseInfo[all][hHel] = 0;
            HouseInfo[all][hArm] = 0;
            HouseInfo[all][hHealthx] = 0;
            HouseInfo[all][hHealthy] = 0;
            HouseInfo[all][hHealthz] = 0;
            HouseInfo[all][hArmourx] = 0;
            HouseInfo[all][hArmoury] = 0;
            HouseInfo[all][hArmourz] = 0;
            HouseInfo[all][hLock] = 1;
            HouseInfo[all][hOwned] = 0;
            HouseInfo[all][hVec] = 516;
            HouseInfo[all][hVcol1] = -1;
            HouseInfo[all][hVcol2] = -1;
            strmid(HouseInfo[all][hOwner], "GOD", 0, strlen("GOD"), 255);
            format(string, sizeof(string), "~w~You have sold all propertys");
            GameTextForPlayer(playerid, string, 10000, 3);
            OnPropUpdate();
            }
            return 1;
        }
        else
        {
            SendClientMessage(playerid, COLOR_GRAD1, "  you are not authorized to use that command!");
        }
        return 1;
    }
log onto RCON and typ /sellallhouses and vфila
Reply
#5

OMGosh ty you saved me 30 minutes :P
Reply
#6

He also cost you many, many bugs

This is exactly why I tell you guys to READ THE PEN1 TOPIC.

Do not DARE post about your bugs in the topic now that you fucked it up with that command
Reply
#7

Oh my gawd your right... My houses now say Owner: """""" <- and exactly that!

:O

I got rid, and removed all the owners. Its a good idea to lock this topic.

PROBLEM SOLVED
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)