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-nmm6 (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-nmm6 (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-nmm6 (Linux)
Hello friends
In this way, the horse is taken as an item, so when the staff double clicks, it gets on it
But when the player double-clicks, the horse comes out like a pentegram.
I want the player to board when double clicks
Code:
[itemdef i_mt_halktan]
name Halkin Binegi
id i_pet_horse_brown_dk
type t_script
layer 25
tdata3 c_halktan
On=@Create
color 2061
attr 14
On=@DClick
if !((<src.body> == c_man) || (<src.body> == c_woman) || (<src.body> == c_man_gm))
src.sysmessage once insan olki buna binebilesin yezid!
else
src.Events +e_halktan
src.newnpc c_halktan
src.new.p <src.p>
src.new.color <color>
src.new.hits 100
src.new.mount
remove
Return 1
endif