Raised This Month: $ Target: $400
 0% 

announcement plugin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
DjOptimuS
Senior Member
Join Date: Jan 2009
Old 06-15-2012 , 06:25   Re: announcement plugin
Reply With Quote #3

client_print(0, print_chat, "%s", get_pcvar_num(announcement_detail_1))

you should use get_pcvar_string not num

Example:

PHP Code:
new szMessage1[128];
get_pcvar_string(announcement_detail_1szMessage1127)
// Then
client_print(0print_chat"%s"szMessage1

Last edited by DjOptimuS; 06-15-2012 at 06:27.
DjOptimuS is offline
 



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 06:11.


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