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
System Vendor (REDEED)
Author Message
Shaklaban
Master
**

Posts: 378
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 8

DOT

Post: #4
RE: System Vendor (REDEED)
PHP Code:
[function check]
if (<
flags>&statf_dead)
    return 
1
else    
    
smessage Cek haline getirmek istediginiz miktari girin:
    
PROMPTCONSOLE para_ceki_callback
endif    

[function 
para_ceki_callback]
if !(<
isnum <args>>)
    
flmessage <def.dil_cek_olmaz_<lng>>
elif (<eval <args>> < 20000)    
    
flmessage <def.dil_cek_min_<lng>>
elif (<eval <args>> > 10000000)
    
flmessage <def.dil_cek_max_20_<lng>>
elif (<gold> < <eval <args>>)
    
flmessage <def.dil_cek_altininiz_yok_<lng>>    
else
    
serv.newitem i_para_cek
    
new.tag.yazan=<name//name of who writes the  check
    
new.tag.miktari=<eval <args>> //amount of gold
    
gold=<eval <gold> - <args>>
    
bounce <new>
endif    

[
itemdef i_para_cek]
id=i_deed
name
=para ceki
type
=t_script
on
=@create
color 
99
attr
=attr_newbie

on
=@click
message 
[<tag.yazan>]
message <eval <tag.miktari>>
return 
1

on
=@clienttooltip
src
.addcliloc 1070722,Newbie <DEF.BR><eval <tag.miktari>><DEF.BR><tag.yazan>
return 
1

on
=@dclick
if (<topobj.uid> = <src.uid>)
    
src.gold = <eval <src.gold> + <tag0.miktari>>
    
remove
else
    
src.sysmessage <def.reach_fail>    
endif
return  


here is my check system, just type .check ingame or call check function on player, you need to set sysmessages.
(This post was last modified: 07-20-2012 05:30 PM by Shaklaban.)
07-20-2012 05:28 PM
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
System Vendor (REDEED) - victorstelzer - 07-20-2012, 12:50 AM
RE: System Vendor (REDEED) - Extreme - 07-20-2012, 01:53 AM
RE: System Vendor (REDEED) - victorstelzer - 07-20-2012, 08:20 AM
RE: System Vendor (REDEED) - Shaklaban - 07-20-2012 05:28 PM

Forum Jump:


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