Raised This Month: $32 Target: $400
 8% 

Solved [CSGO] Problem with my VIP plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Mesharsky How2Kill
AlliedModders Donor
Join Date: May 2017
Location: Poland
Old 07-12-2017 , 11:45   [CSGO] Problem with my VIP plugin
Reply With Quote #1

delete it

Last edited by Mesharsky How2Kill; 11-25-2021 at 11:44. Reason: out of date
Mesharsky How2Kill is offline
CamerDisco
AlliedModders Donor
Join Date: Aug 2015
Location: Poland
Old 07-12-2017 , 12:45   Re: [CSGO] Problem with my VIP plugin
Reply With Quote #2

Try %T instead of %t on Format, OnClientDisconnect it should see
PHP Code:
CPrintToChatAll(PREFIX"%T""PorzegnanieVip"LANG_SERVERiClient); 
Ans pls "pożegnanie", not "porzegnanie" - polish language, hard language
__________________


Max-Play.pl - the best polish servers

Last edited by CamerDisco; 07-12-2017 at 12:49.
CamerDisco is offline
Mesharsky How2Kill
AlliedModders Donor
Join Date: May 2017
Location: Poland
Old 07-12-2017 , 12:51   Re: [CSGO] Problem with my VIP plugin
Reply With Quote #3

Quote:
Originally Posted by CamerDisco View Post
Try %T instead of %t
PHP Code:
CPrintToChatAll(PREFIX"%T""PorzegnanieVip"LANG_SERVERiClient); 
Ans pls "pożegnanie", not "porzegnanie" - polish language, hard language

unfortunately
I used %T insted %t and no messages at all same error, i see you add now LANG_SERVER so i try it out and let you know.

And about pożegnanie i am from Ireland and i don't know Polish perfectly 100% XD, so sorry, but i fix it anyway

Last edited by Mesharsky How2Kill; 07-12-2017 at 12:51.
Mesharsky How2Kill is offline
CamerDisco
AlliedModders Donor
Join Date: Aug 2015
Location: Poland
Old 07-12-2017 , 12:59   Re: [CSGO] Problem with my VIP plugin
Reply With Quote #4

And translations PorzegnanieVip won't work, because you're using iClient, but you didn't format it. Learn it here: https://wiki.alliedmods.net/Translat...eMod_Scripting)
In your case it should see:
PHP Code:
    "PorzegnanieVip"
    
{
        
"#format"    "{1:N}"
        "pl"         "★ {lightred}[VIP] {green}» {darkred}{1} {default}Właśnie opuścił nasz serwer!"
    

__________________


Max-Play.pl - the best polish servers
CamerDisco is offline
Mesharsky How2Kill
AlliedModders Donor
Join Date: May 2017
Location: Poland
Old 07-12-2017 , 13:04   Re: [CSGO] Problem with my VIP plugin
Reply With Quote #5

Quote:
Originally Posted by CamerDisco View Post
And translations PorzegnanieVip won't work, because you're using iClient, but you didn't format it. Learn it here: https://wiki.alliedmods.net/Translat...eMod_Scripting)
In your case it should see:
PHP Code:
    "PorzegnanieVip"
    
{
        
"#format"    "{1:N}"
        "pl"         "★ {lightred}[VIP] {green}» {darkred}{1} {default}Właśnie opuścił nasz serwer!"
    

So i have to use "#format" "{1:N}" eveyrywhere or just in line where is pozegnanie?
Mesharsky How2Kill is offline
CamerDisco
AlliedModders Donor
Join Date: Aug 2015
Location: Poland
Old 07-12-2017 , 13:10   Re: [CSGO] Problem with my VIP plugin
Reply With Quote #6

Everywhere where you are formatting something, like a int, string or client. And for example for a string it will se:
PHP Code:
"#format"    "{1:s}" 
If it still doesn't work please attach all files what you are using and I'll test it.
__________________


Max-Play.pl - the best polish servers

Last edited by CamerDisco; 07-12-2017 at 13:11.
CamerDisco is offline
Mesharsky How2Kill
AlliedModders Donor
Join Date: May 2017
Location: Poland
Old 07-12-2017 , 13:13   Re: [CSGO] Problem with my VIP plugin
Reply With Quote #7

Add me on steam if you can then you can help me faster http://steamcommunity.com/id/mesharskyh2k/
Mesharsky How2Kill is offline
inklesspen
Member
Join Date: Nov 2015
Location: Russia, Moscow
Old 07-16-2017 , 09:46   Re: [CSGO] Problem with my VIP plugin
Reply With Quote #8

try add "en" translate. If client using not "pl" language, it throw error like "Language not found "NAME OF TRANSLATE" "
inklesspen is offline
Send a message via Skype™ to inklesspen
Reply



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 16:49.


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