10.05.2012, 20:36
Ok now i'm stuck again. It's about the params that the player write after the command.
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.
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;
}