Raised This Month: $ Target: $400
 0% 

How To Use Double Parameter ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Awesome_man
Senior Member
Join Date: May 2014
Location: singapore
Old 12-30-2015 , 23:27   How To Use Double Parameter ?
Reply With Quote #1

For eg; I want to use amx_hello "nick" but all of this inside a ""

EG :

Code:
"amx_hello "nick""
How to do this ?

Last edited by Awesome_man; 12-30-2015 at 23:29.
Awesome_man is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-30-2015 , 23:41   Re: How To Use Double Parameter ?
Reply With Quote #2

In what context?
__________________
fysiks is offline
Awesome_man
Senior Member
Join Date: May 2014
Location: singapore
Old 12-30-2015 , 23:44   Re: How To Use Double Parameter ?
Reply With Quote #3

Quote:
Originally Posted by fysiks View Post
In what context?
server_cmd("amx_hello "nick"")

In this way but how to do it ?
Awesome_man is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-30-2015 , 23:52   Re: How To Use Double Parameter ?
Reply With Quote #4

You need to escape the quotes. The escape character is ^

PHP Code:
server_cmd("asdf ^"asdf^""
__________________
fysiks is offline
Awesome_man
Senior Member
Join Date: May 2014
Location: singapore
Old 12-31-2015 , 00:36   Re: How To Use Double Parameter ?
Reply With Quote #5

Quote:
Originally Posted by fysiks View Post
You need to escape the quotes. The escape character is ^

PHP Code:
server_cmd("asdf ^"asdf^""
Thnx
Awesome_man 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 09:27.


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