Raised This Month: $12 Target: $400
 3% 

VIP Prefix


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
XeOn Cp
Senior Member
Join Date: Jan 2014
Old 04-01-2015 , 11:12   VIP Prefix
Reply With Quote #1

hi guys, i want to add on my ZP server, VIP prefix. i saw it on many servers.
that means, not admin prefix, because what i downloaded all of them are admin prefixs, just named with VIP, so i want to do different prefixes
when vip player will write in chat, exmaple: " [VIP] XeOn: Hi Guys i'm VIP "

and different with admin: " [Admin] XeOn: Hi Guys i'm Admin "
XeOn Cp is offline
Fresh522
Member
Join Date: Mar 2015
Location: Bulgaria
Old 04-01-2015 , 13:58   Re: VIP Prefix
Reply With Quote #2

Here :

vipadminprefix.sma

If you want to change admin flags
change:
#define FLAGVIP ADMIN_LEVEL_H -> ADMIN_LEVEL_*
#define FLAGADMIN ADMIN_LEVEL_B -> ADMIN_LEVEL_*
works fine with :
custom level flags
Fresh522 is offline
XeOn Cp
Senior Member
Join Date: Jan 2014
Old 04-01-2015 , 16:55   Re: VIP Prefix
Reply With Quote #3

FIX that errors please
PHP Code:
vipadminprefix.sma(14) : error 020invalid symbol name ""
vipadminprefix.sma(14) : error 010invalid function or declaration
vipadminprefix
.sma(29) : warning 217loose indentation
vipadminprefix
.sma(29) : error 017undefined symbol "ADMINPrefix"
vipadminprefix.sma(31) : warning 217loose indentation
vipadminprefix
.sma(58) : error 017undefined symbol "ADMINPrefix"
vipadminprefix.sma(91) : error 017undefined symbol "ADMINPrefix"
vipadminprefix.sma(122) : warning 203symbol is never used""
vipadminprefix.sma(122) : warning 203symbol is never used"SzGTeam" 
XeOn Cp is offline
Coreyg115
New Member
Join Date: May 2023
Old 05-29-2023 , 21:56   Re: VIP Prefix
Reply With Quote #4

The error messages and warnings you provided indicate issues in the "vipadminprefix.sma" file. Let's break down each error and warning:

vipadminprefix.sma(14) : error 020: invalid symbol name ""
This error suggests that there is an invalid symbol name on line 14 of the "vipadminprefix.sma" file. Symbol names should not be empty or contain any special characters. Check line 14 and ensure that you have a valid symbol name.

vipadminprefix.sma(14) : error 010: invalid function or declaration
This error indicates an invalid function or declaration on line 14. Make sure that the syntax for functions and declarations is correct and matches the expected format.

vipadminprefix.sma(29) : warning 217: loose indentation
This warning suggests that there is inconsistent or incorrect indentation on line 29. Proper indentation is important for code readability and syntax correctness. Ensure that the indentation is consistent and follows the required style.

vipadminprefix.sma(29) : error 017: undefined symbol "ADMINPrefix"
This error points out that there is an undefined symbol named "ADMINPrefix" on line 29. It means that the symbol has not been declared or defined before its usage. You need to define the symbol "ADMINPrefix" before using it in your code.

vipadminprefix.sma(31) : warning 217: loose indentation
Similar to the third warning, this warning indicates loose indentation on line 31. Verify the indentation and correct it to adhere to the desired coding style.

vipadminprefix.sma(5 : error 017: undefined symbol "ADMINPrefix"
This error is identical to the fourth error and indicates an undefined symbol "ADMINPrefix" on line 58. Make sure you have properly defined this symbol before using it.

vipadminprefix.sma(91) : error 017: undefined symbol "ADMINPrefix"
Once again, this error is the same as the previous two errors, indicating an undefined symbol "ADMINPrefix" on line 91. Ensure that the symbol is defined correctly before using it.

vipadminprefix.sma(122) : warning 203: symbol is never used: ""
This warning suggests that there is an unused symbol on line 122 with an empty name. Remove or refactor the unused symbol to optimize your code.

vipadminprefix.sma(122) : warning 203: symbol is never used: "SzGTeam"
Similarly, this warning indicates that the symbol "SzGTeam" on line 122 is unused. If it is not needed, consider removing it to clean up your code.

Review the mentioned lines in the "vipadminprefix.sma" file, address the errors, and ensure that the symbols are properly defined and used throughout the code.
Coreyg115 is offline
Reply


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 10:04.


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