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

#define uses in quotes


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
hyphen
Senior Member
Join Date: Aug 2011
Old 06-07-2012 , 13:35   #define uses in quotes
Reply With Quote #1

Just a small query. How do I use some defined values with a string.

Code:
#define KICK_REASON "Some reason goes here"

public kick_player()
{
server_cmd("kick #%d ^"Some reason goes here^"", get_user_userid(id))
}
how do I replace this server_cmd("kick #%d ^"Some reason goes here^"", get_user_userid(id)) with use of KICK_REASON
hyphen 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 22:36.


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