Raised This Month: $ Target: $400
 0% 

Print Message


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Groven
AlliedModders Donor
Join Date: Apr 2011
Location: Sweden
Old 12-28-2013 , 14:01   Re: Print Message
Reply With Quote #1

%s works fine but not %n, Is %n for name? Like "Sprite has been given 40"
Groven is offline
neverminde
Senior Member
Join Date: Feb 2011
Location: St.Piter
Old 12-28-2013 , 15:31   Re: Print Message
Reply With Quote #2

Quote:
Originally Posted by Groven View Post
%s works fine but not %n, Is %n for name? Like "Sprite has been given 40"
never seen before this qualifier. seems this stuff dont work in pawn.
Look at this c++ code

#include <stdio.h>
int main(void)
{
int count;
printf ("this%n is a test\n", &count);
printf ("%d", count);
return 0;
}
print "this is a test" after "4". Do you really need this ?

Last edited by neverminde; 12-28-2013 at 15:31.
neverminde is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-28-2013 , 15:36   Re: Print Message
Reply With Quote #3

Quote:
Originally Posted by Groven View Post
Is %n for name?
. . . where did you get this idea? If it is posted here somewhere then it needs to be removed.
__________________

Last edited by fysiks; 12-28-2013 at 15:38.
fysiks is offline
Groven
AlliedModders Donor
Join Date: Apr 2011
Location: Sweden
Old 12-29-2013 , 05:26   Re: Print Message
Reply With Quote #4

Quote:
Originally Posted by fysiks View Post
. . . where did you get this idea? If it is posted here somewhere then it needs to be removed.
I asked a random person but it seems he's wrong aswell hehe . But how do I make so the player names print?
Groven 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 10:09.


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