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
Block race at char creation
Author Message
Shamino
Noob Scripter
*

Posts: 57
Likes Given: 5
Likes Received: 15 in 11 posts
Joined: Mar 2012
Reputation: 0

Exilio UO

Post: #2
RE: Block race at char creation
Enjoy Wink, try.

sphere_serv_triggers.scp

[FUNCTION f_onchar_create]
// ARGN3 --> race (1=human, 2=elf, 3=gargoyle)

IF (<ARGN3>==2) || (<ARGN3>==3)
SRC.FINDLAYER.11.REMOVE
SRC.FINDLAYER.16.REMOVE
IF (<SRC.OBODY>==c_elf_male) || (<SRC.OBODY>==c_gargoyle_male)
SRC.OBODY=c_man
SRC.BODY=c_man
SERV.NEWITEM=random_male_hair,1,<SRC>
NEW.COLOR=colors_hair
ELIF (<SRC.OBODY>==c_elf_female) || (<SRC.OBODY>==c_gargoyle_female)
SRC.OBODY=c_woman
SRC.BODY=c_woman
SERV.NEWITEM=random_female_hair,1,<SRC>
NEW.COLOR=colors_hair
SRC.CAN |= MT_FEMALE
ENDIF
SRC.OSKIN=083ea
SRC.COLOR=083ea
ENDIF

"My world is hell for the infidels. My blood pleasure of the immortals"
[Image: 2ec003662b15c61da117767a59bb99bao.jpg]
02-28-2017 04:35 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Block race at char creation - massis87 - 02-28-2017, 04:03 AM
RE: Block race at char creation - Shamino - 02-28-2017 04:35 AM
RE: Block race at char creation - Coruja - 02-28-2017, 04:59 AM

Forum Jump:


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