Stuck at sscanf (again)
#1

Ok now i'm stuck again. It's about the params that the player write after the command.
pawn Код:
CMD:message(playerid,params[])
{
    //here i want to add the if(sscanf(and something that i dont really have figured out how to make.
    //I want the text the player write after the command to be the string and use that in a format.
    //I know it's easy to create but when i tried to make a code it wont work so i need a little help.
    // this is just a example for the format.
    format(string1,sizeof(string1),the string or the params,string1);
    return 1;
}
My question is if someone can give me a example how to make the params[] into a string and place that in a format. Example as i want the text the player write after the command to show in for example SendClientMessage.
Reply


Messages In This Thread
Stuck at sscanf (again) - by HDFord - 10.05.2012, 20:36
Re: Stuck at sscanf (again) - by Kindred - 10.05.2012, 20:45
Re: Stuck at sscanf (again) - by -Prodigy- - 10.05.2012, 20:45
Re: Stuck at sscanf (again) - by HDFord - 10.05.2012, 20:49
Re: Stuck at sscanf (again) - by 2KY - 10.05.2012, 20:52
Re: Stuck at sscanf (again) - by Leo Delvecchio - 10.05.2012, 20:56
Re: Stuck at sscanf (again) - by Biesmen - 10.05.2012, 20:56
Re: Stuck at sscanf (again) - by HDFord - 10.05.2012, 21:01

Forum Jump:


Users browsing this thread: 3 Guest(s)