Jump to content
  • 0

pomoc OnPlayerText


INSANE_25_ICON

Dotaz

public OnPlayerText(playerid, text[])
{
if(strlen(text) > 120)
{
SendClientMessage(playerid, 0xFFFFFFFF, "Text je příliš dlouhý! Maximálne můžeš použít 120 písmen");
return 0;
}
if(GetPVarInt(playerid,"muted") == 1)
{
ShowPlayerDialog(playerid,20,DIALOG_STYLE_MSGBOX,"Upozornění","Jste umlčen!","Potvrdit","");
return 0;
}
}
C:\Documents and Settings\InSaNe_25_IcOn\Plocha\PaWnO\AntiUniversal.pwn(679) : warning 209: function "OnPlayerText" should return a value
Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase


1 Warning.

Prosím helpnite mi. :)

 

Link to comment
Share on other sites

1 odpověd na tuto otázku

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...