Raised This Month: $ Target: $400
 0% 

String formatted incorrectly


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Backstabnoob
BANNED
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 04-25-2013 , 10:38   Re: String formatted incorrectly
Reply With Quote #1

Code:
public mesaj1(id) {     client_cmd(0,"spk ^"life in three seconds^"");     ColorChat(id, GREEN, "[^x03 %s^x04 ]^x01 |---------------^x04 LiVE !^x01 ---------------|"); } public mesaj2(id) {     ColorChat(id, GREEN, "[^x03 %s^x04 ]^x01 |---------------^x04 LiVE !^x01 ---------------|"); } public mesaj3(id) {     ColorChat(id, GREEN, "[^x03 %s^x04 ]^x01 |---------------^x04 LiVE !^x01 ---------------|"); }

You need to add an extra argument to the function, which is the string %s will be replaced by.
Backstabnoob 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:58.


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