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
Sphere msgs.scp
Author Message
Shaklaban
Master
**

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

DOT

Post: #6
RE: Sphere msgs.scp
Im using defnames and functions for multi language support, but i never replace hardcoded ones since everyone knows them which plays sphere. Little examples from my shard:

PHP Code:
[defname language_support]
dil_arkadas_listeniz_dolu_0 Arkadaş listeniz dolu.
dil_arkadas_listeniz_dolu_1 Your friend list is full.

[function 
lng]
return <
account.dtag0.lang// im just giving them tag.lang with gump, they selecting their languages

[function example]
sysmessage <def.dil_arkadas_listeniz_dolu_<lng>>

[function 
smsg_arkadas_teklifi_engellemis_0]
sysmessage <argsarkadaşlık tekliflerini engellemiş.

[function 
smsg_arkadas_teklifi_engellemis_1]
sysmessage <argshas blocked friend requests.

[function 
example_2]
ref1=<argn1//uid of an object
sysmessage <smsg_arkadas_teklifi_engellemis_<lng> <ref1.name>> 

I never think about clilocs since connection which used by sphere in nothing, and its not useful to edit cliloc files with every script change.
(This post was last modified: 07-18-2012 06:13 PM by Shaklaban.)
07-18-2012 01:37 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
Sphere msgs.scp - Russian - 07-16-2012, 02:35 AM
RE: Sphere msgs.scp - Shidhun - 07-16-2012, 02:55 AM
RE: Sphere msgs.scp - Skul - 07-16-2012, 05:42 AM
RE: Sphere msgs.scp - Russian - 07-18-2012, 03:45 AM
RE: Sphere msgs.scp - Wap - 07-18-2012, 07:10 AM
RE: Sphere msgs.scp - Shaklaban - 07-18-2012 01:37 PM
RE: Sphere msgs.scp - Abuelox - 11-15-2012, 06:12 AM
RE: Sphere msgs.scp - Skul - 11-16-2012, 01:24 PM
RE: Sphere msgs.scp - Shaklaban - 11-16-2012, 01:20 PM
RE: Sphere msgs.scp - xwerswoodx - 06-22-2013, 10:43 PM
RE: Sphere msgs.scp - Mordaunt - 06-23-2013, 06:29 AM
RE: Sphere msgs.scp - xwerswoodx - 06-23-2013, 10:49 PM

Forum Jump:


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