Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Server (https://forums.graalonline.com/forums/forumdisplay.php?f=14)
-   -   Renting Rooms... (https://forums.graalonline.com/forums/showthread.php?t=2564)

Nai 05-10-2001 08:57 PM

How would you do the
script for making it to
where you can rent a
room or anything else
for a few gralat and a
certain bit of time. Such
as the Farming Areas
you can rent farms. I am
making a thing to where
you can rent a room for a
certain amount of time and
then store like Gralat in so
it is like personal houses
but there are no keys and
you can't keep them forever.

Admins 05-11-2001 02:29 AM

You can remember the accountname in a
this. flag or a server. flag (when he buys it),
and when someone enters you check
for the right accountname
NPC Code:

if (playerenters && !strequals(#a,this.owner))
setlevel2 houseoutside.graal,30,50;



Nai 05-11-2001 04:17 AM

Thanks Stefan! That is
perfect!

Nai 05-11-2001 04:32 AM

I wouldn't need that in
what I am working on.

Nai 05-11-2001 05:20 AM

Hmm, true. But, I wouldn't
need that unless that is
the script they use on the
door.gif file when scripted.

Admins 05-11-2001 06:46 AM

Yes all those personal houses and
also quests use setlevel2 because
normal links (in the .graal / .nw file)
are client-side and can be used by
everyone

About this. flags: please don't post
wrong informations ... this. flags only
exist on npcserver, they don't mean
anything for client-side scripts (handled
like other flags)

KJS 05-11-2001 08:51 AM

I Deleted
 
I deleted the post that said that...
I was wondering that because that is what someone told me (I cant remeber who but it was a staff member one a server that has a npc server)...

thanks for telling me

Nai 05-11-2001 08:53 AM

I know this is off topic, but
could I send what I got of
my server right now to you
Stefan? I sent it to Link a
long time ago and have got
no reply


All times are GMT +2. The time now is 09:14 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.