The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Race selection script
Author Message
maos32
Apprentice
*

Posts: 15
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Sep 2013
Reputation: 0



Post: #3
RE: Race selection script
Heyo , i need just 2 things :
How to add Elf next to the player name?
What is the right command to pass trough the door? no coordinate , just trow the player in the door to let him enter

[ITEMDEF i_race_elf_moongate]
DEFNAME=i_race_elf_moongate
NAME=Portail Elf
ID=i_moongate_blue
TYPE=t_normal

ON=@STEP
SOUND=snd_spell_gate_travel
SRC.GO 1336 1997 5 0 // the player will not be able to comback ( do you have a gump for yes / no) ?
src.SET COLOR=008fd // grey boddy color
src.set title=Elf (Is it possible to add Elf next to the name?)
src.sysmessage: You become "xxx"
src.tag.race.elf= 1 // the permanent tag
return 1

CATEGORY=GM ITEMS
SUBSECTION=race gate
DESCRIPTION=Elf Race Gate

[itemdef i_race_elf_door]
id=06e9
Name= Elf door

on=@dclick
if (<src.tag.race>==1) // elf
src.go <door position> // to pass across (need the right command)
return 0
else
src.sysmessage = You are not the right class to use this door! blah blah
return 1

CATEGORY=GM ITEMS
SUBSECTION=race door
DESCRIPTION=Elf Race door

Thanks mate
09-15-2013 09:24 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Race selection script - maos32 - 09-15-2013, 06:37 PM
RE: Race selection script - dagger4k - 09-15-2013, 07:52 PM
RE: Race selection script - maos32 - 09-15-2013 09:24 PM
RE: Race selection script - Shidhun - 09-15-2013, 10:15 PM
RE: Race selection script - maos32 - 09-15-2013, 10:56 PM
RE: Race selection script - XuN - 09-15-2013, 11:17 PM
RE: Race selection script - Rattlehead - 09-16-2013, 08:29 AM
RE: Race selection script - maos32 - 09-16-2013, 08:10 PM
RE: Race selection script - Shidhun - 09-16-2013, 09:59 PM
RE: Race selection script - maos32 - 09-17-2013, 07:35 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)