SA-MP Forums Archive
Talking Problems - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Talking Problems (/showthread.php?tid=308064)



Talking Problems - James Coral - 02.01.2012

I have Problems with my COD GM what i makeing!

if i goes do test
and i tryed do talk it didnt show my text and others cant write too

Someone can help me?


Re: Talking Problems - Max_Coldheart - 02.01.2012

Show us your OnPlayerText callback.


Re: Talking Problems - Ironboy - 02.01.2012

Show "OnPlayerText" callback.


Re: Talking Problems - James Coral - 02.01.2012

Sure:

pawn Код:
public OnPlayerText(playerid, text[])
{
    return 0;
}



Re: Talking Problems - [SP]Mr.Kakashi[WP] - 02.01.2012

don't put return 1; onplayertext it will have double word. and make sure its just return 0;


Re: Talking Problems - James Coral - 02.01.2012

Its
pawn Код:
return 0;



Re: Talking Problems - Norck - 02.01.2012

Quote:
Originally Posted by James Coral
Посмотреть сообщение
Sure:

pawn Код:
public OnPlayerText(playerid, text[])
{
    return 0;
}
Put
return 1;
Instead of
return 0;


Re: Talking Problems - Ironboy - 02.01.2012

It should be like this
pawn Код:
public OnPlayerText(playerid, text[])
{
    return 1;
}



Re: Talking Problems - James Coral - 02.01.2012

Quote:
Originally Posted by Norck
Посмотреть сообщение
Put
return 1;
Instead of
return 0;
What do you mean? Can you show the Code?


Re: Talking Problems - Max_Coldheart - 02.01.2012

Quote:
Originally Posted by James Coral
Посмотреть сообщение
What do you mean? Can you show the Code?
pawn Код:
OnPlayerText(playerid, text)
{
     return 1;
}
How hard can it be?