26.06.2011, 02:21
Show me your code.
public OnPlayerText(playerid, text[])
{
ChatChecker(playerid,text,1,2,5,9,13,16,COLOR_WHITE,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5,COLOR_RED,5000,5);
return 0;
ChatChecker(playerid,text,1,2,5,9,13,16,COLOR_WHITE,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5,COLOR_RED,5000,5);
ChatChecker(playerid,text,1,5,7,10,15,17,White,Chat1,Chat2,Chat3,Chat4,1,Red,5000,5);
pawn Код:
And you forgot to add 1 to show the bubble. Idk why you put COLOR_FADE5 instead 1 or 0. Just try with mine pawn Код:
EDIT:except "Red" |
EDIT: HA! I see why one can see the text and other not, when no one is connected he can see when someone else connects the guy that connected can only see it Duhh it does sound nice because u dont need to spam around with ProxDetector thats why I like it but it does not seems to be so flexible then proxdetector |
#define COLOR_RED 0x33CCFFAA
public OnPlayerText(playerid, text[])
{
ChatChecker(playerid,text,1,5,7,10,15,17,White1,Chat1,Chat2,Chat3,Chat4,1,COLOR_RED,5000,5);
return 0;
}
Using ChatChecker, my OnPlayerSpawn never is called.
But the OnPlayerSpawn in ChatChecker is ok. Whats wrong? My chatbubble dont works too. PHP код:
|
//change
CallLocalFunction("S@@_OnPlayerSpawn", ""); //no arguments, need it
//to it
CallLocalFunction("S@@_OnPlayerSpawn", "i", playerid);
//change
CallLocalFunction("S@@_OnPlayerExitVehicle", "");
//to it
CallLocalFunction("S@@_OnPlayerExitVehicle", "i", playerid, vehicleid);
//change
CallLocalFunction("S@@_OnPlayerEnterVehicle", "");
//to it
CallLocalFunction("S@@_OnPlayerEnterVehicle", "i", vehicleid, ispassenger);