#6

like ..
pawn Код:
dcmd_say(playerid, params[])
{
  new style, text[218];
  if(sscanf(params, "ds", style, text) return SendClientMessage(playerid, COLOR_WHATEVER, "SYNTAX: /say <style> <text>");
  if(style > 5 || style < 0) return SendClientMessage(playerid, COLOR_WHATEVER, "This style does not exist");
  GameTextForAll(text, 3000, style);
  return 1;
}
Action: /say 2 hai
gives you: 'hai' with style 2
_________________________________________________

Something like that? Or did I misunderstood you?

_________________________________________________
For this code to function properly you need:
Reply


Messages In This Thread
How? - by Joe2009 - 17.06.2009, 19:06
Re: How? - by Grim_ - 17.06.2009, 19:08
Re: How? - by Joe2009 - 17.06.2009, 19:15
Re: How? - by Joe2009 - 17.06.2009, 19:22
Re: How? - by Luka P. - 17.06.2009, 20:18
Re: How? - by mamorunl - 17.06.2009, 20:40
Re: How? - by Luka P. - 17.06.2009, 20:43
Re: How? - by Joe2009 - 17.06.2009, 20:43
Re: How? - by Joe2009 - 17.06.2009, 20:44
Re: How? - by Luka P. - 17.06.2009, 20:47

Forum Jump:


Users browsing this thread: 1 Guest(s)