Jump to content
  • 0

Eroare SendClientMessageLang


Samy Romafia

Question

Linea asta genereaza eroarea:

	SendClientMessageLang(playerid, RED, "<!> You are not in a race!","<!> Non sei in una gara!");
Si aici este eroarea
SendClientMessageLang(playerid, color, langeng[], langpl[], define1[]="", str=0,str2=0, define2[]="", define3[]="", define4[]="",str3=0)
{
	new tmpbuf[256];
	if(lang[playerid] == 0)format(tmpbuf, sizeof(tmpbuf), langeng, define1, str,str2, define2, define3, define4, str3);
	if(lang[playerid] == 1)format(tmpbuf, sizeof(tmpbuf), langpl, define1, str,str2, define2, define3, define4, str3);
	SendClientMessage(playerid, color, tmpbuf);
}//1469
(1469) : warning 209: function "SendClientMessageLang" should return a value
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


1 Warning.

senzaolo1xv.png

www.dsrclan.forumfree.it

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

[tt]

SendClientMessageLang(playerid, color, langeng[], langpl[], define1[]="", str=0,str2=0, define2[]="", define3[]="", define4[]="",str3=0)
{
  new tmpbuf[256];
  if(lang[playerid] == 0)format(tmpbuf, sizeof(tmpbuf), langeng, define1, str,str2, define2, define3, define4, str3);
  if(lang[playerid] == 1)format(tmpbuf, sizeof(tmpbuf), langpl, define1, str,str2, define2, define3, define4, str3);
  return SendClientMessage(playerid, color, tmpbuf);
}//1469

[/tt]

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.