View Single Post
Author Message
AwesomeMan
Member
Join Date: Jun 2013
Old 06-18-2013 , 06:47   Help with printing out strings
Reply With Quote #1

Hey,
I have a problem for plugin I am creating. It's basically like amx_vote but with 7 choices. I'm new to pawn and I was wondering how can I client_print a variable? I have created new g_Arg1 and made it read_argv(1, g_Arg1, 32). It works fine in the vote menu, it does appear. But, I'm having trouble with printing it in chat.
I tried few methods, such as:
client_print(id, print_chat, "You have selected Option 1: %s" g_Arg1);
and some others based on same thing. I have tried googling, spend hours trying to figure out but got nothing. Any help appreciated.
AwesomeMan is offline