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

VFormat


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Mathias.
Veteran Member
Join Date: Aug 2010
Location: Canada is my city
Old 03-05-2015 , 17:05   VFormat
Reply With Quote #1

http://gyazo.com/bf0e9ab1faa4a36545635ffa7772e60d

PHP Code:
stock void PrintToChatExcept(int playerchar[] messageany:...)
{
    
char buffer[256];
    for (
int i 1MaxClientsi++)
    {
        if (
IsClientInGame(i) && player != i)
        {
            
SetGlobalTransTarget(i);
            
VFormat(buffersizeof(buffer), message3);
            
PrintToChat(ibuffer);
        }
    }


Last edited by Mathias.; 03-05-2015 at 17:05.
Mathias. is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 03-05-2015 , 17:10   Re: VFormat
Reply With Quote #2

uhm it looks like you are possibly doing a translation and putting in either more than the needed variables for the translation or not enough. What is calling that function?

tl;dr: more info
Mitchell is offline
Mathias.
Veteran Member
Join Date: Aug 2010
Location: Canada is my city
Old 03-05-2015 , 17:20   Re: VFormat
Reply With Quote #3

Nvm I just forgot to pass a parameter for my translation phrase.

EDIT: thx for trying to help me out mitch.

Last edited by Mathias.; 03-05-2015 at 17:20.
Mathias. is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 03-05-2015 , 18:35   Re: VFormat
Reply With Quote #4

Quote:
Originally Posted by Black-Rabbit View Post
Nvm I just forgot to pass a parameter for my translation phrase.

EDIT: thx for trying to help me out mitch.
No problem haha, we all run into those type of things m8
Mitchell is offline
Mathias.
Veteran Member
Join Date: Aug 2010
Location: Canada is my city
Old 03-05-2015 , 19:05   Re: VFormat
Reply With Quote #5

Quote:
Originally Posted by Mitchell View Post
No problem haha, we all run into those type of things m8
My bad m8, normally I try to debug before posting and every time I post I find the answer 5 sec after lol.
Mathias. is offline
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 23:11.


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