Raised This Month: $ Target: $400
 0% 

[HELP] Formatex error


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Depresie
Veteran Member
Join Date: Nov 2013
Old 12-27-2015 , 11:37   [HELP] Formatex error
Reply With Quote #1

Expected token "," but found ":" line 354, any ideea?


PHP Code:
    formatex(menucharsmax(menu), "\d%s [%L]"player_nameidzp_core_is_zombie(player
? (
LibraryExists(LIBRARY_NEMESISLibType_Library) && zp_class_nemesis_get(player)) ? "CLASS_NEMESIS" 
: (LibraryExists(LIBRARY_ASSASSINLibType_Library) && zp_class_assassin_get(player)) ? "CLASS_ASSASSIN" 
: (LibraryExists(LIBRARY_DRAGONLibType_Library) && zp_class_dragon_get(player)) ? "CLASS_DRAGON" 
: (LibraryExists(LIBRARY_TYRANTLibType_Library) && zp_class_tyrant_get(player)) ? "CLASS_TYRANT" 
: (LibraryExists(LIBRARY_ALPHALibType_Library) && zp_class_alpha_get(player)) ? "CLASS_ALPHA" 
"CLASS_ZOMBIE" 
: (LibraryExists(LIBRARY_SURVIVORLibType_Library) && zp_class_survivor_get(player)) ? "CLASS_SURVIVOR" 
: (LibraryExists(LIBRARY_SNIPERLibType_Library) && zp_class_sniper_get(player)) ? "CLASS_SNIPER" 
: (LibraryExists(LIBRARY_NINJALibType_Library) && zp_class_ninja_get(player)) ? "CLASS_NINJA" 
"CLASS_HUMAN"
The first one is edited by me
The second one is the original
Attached Files
File Type: sma Get Plugin or Get Source (zp50_admin_menu.sma - 584 views - 17.8 KB)
__________________

Last edited by Depresie; 12-27-2015 at 16:43.
Depresie is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:08.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode