Posts: 11
	Threads: 3
	Joined: Feb 2010
	
Reputation: 
0
	 
 
	
	
		Hello !
i need help with scriptin i dont know how to fix it 
okey the proble is i cant talk with normal like i press T and type
i have to press T and type /c to talk with pepole and when i type with normal like press T and type then the text will not show up what i need to to
example:t/c Hello <<<i need to type like this
            t Hello  <<<put i want like this
its roleplay GM and basic is larp.pwn
sorry about bad englis
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 11
	Threads: 3
	Joined: Feb 2010
	
Reputation: 
0
	 
 
	
	
		what i need to to?
public OnPlayerText(playerid, text[])
{
	new giver[MAX_PLAYER_NAME];
	new sendername[MAX_PLAYER_NAME];
	new giveplayer[MAX_PLAYER_NAME];
	new tmp[256];
	new string[256];
	new giveplayerid;
	if(PlayerInfo[playerid][pMuted] == 1)
	{
		SendClientMessage(playerid, TEAM_CYAN_COLOR, "You cannot speak, you have been silenced");
		return 1;
	}
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 2,938
	Threads: 162
	Joined: May 2010
	
	
 
	
	
		public OnPlayerText(playerid, text[])
{
new giver[MAX_PLAYER_NAME];
new sendername[MAX_PLAYER_NAME];
new giveplayer[MAX_PLAYER_NAME];
new tmp[256];
new string[256];
new giveplayerid;
if(PlayerInfo[playerid][pMuted] == 1)
{
SendClientMessage(playerid, TEAM_CYAN_COLOR, "You cannot speak, you have been silenced");
return 0;
}
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 11
	Threads: 3
	Joined: Feb 2010
	
Reputation: 
0
	 
 
	
	
		if i put it return 0 our return 1 it dont change nothing what i do now?
and every time normal T text my server crashed and this is in my notpad crashinfo
--------------------------
Exception At Address: 0x00484680
Registers:
EAX: 0x00007325	EBX: 0x01E4FE73	ECX: 0x7FFFFFFE	EDX: 0x0012F120
ESI: 0x0012F120	EDI: 0x0012F54E	EBP: 0x0012EDD4	ESP: 0x0012ED48
EFLAGS: 0x00010202
Stack:
+0000: 0x0012F520   0x0012F120   0x01E4FE90   0x00000003
+0010: 0x0012ED4C   0x0000000A   0x0012ED94   0x00000007
+0020: 0x00000000   0x00A61FA0   0x00000000   0x00000000
+0030: 0x00000000   0x00000000   0x00000000   0x00000000
+0040: 0x00000000   0x00000000   0x00007325   0xFFFFFFFF
+0050: 0x00000000   0x0049D2A0   0xFFFFFFFF   0x004839E7
+0060: 0x0047F67F   0x00000003   0x00A64828   0x0000002C
+0070: 0x00483B55   0x00A62438   0x0012EE00   0x0047F938
+0080: 0x00000013   0x0047F7FC   0x004ABDE8   0x0047F7F3
+0090: 0x00D2FE68   0x7B64C458   0x7B641308   0x00000000
+00A0: 0x0012EDD8   0x00000100   0x0012F84C   0x00483C7C
+00B0: 0x0049CEA0   0xFFFFFFFF   0x0047F7F3   0x00477563
+00C0: 0x004ABDE8   0x4C4F9960   0x6168635B   0x5B205D74
+00D0: 0x72696143   0x726F676E   0x6F4E5F6D   0x63697772
+00E0: 0x203A5D68   0x65726574   0x00000000   0x0012EE24
+00F0: 0x00000100   0x0012F850   0x00483C7C   0x0049CEA0
+0100: 0xFFFFFFFF   0x0047F7F3   0x00477563   0x004ABDE8
+0110: 0x4C4F995E   0x72696143   0x726F676E   0x6F4E5F6D
+0120: 0x63697772   0x74FC2068   0x3A62656C   0x72657420
+0130: 0x00000065   0x00000000   0x7B64C458   0x00001308
and this was in my server_log
[02:49:49] Cairngorm_Norwich says: hello     <<< this is with /c
[02:49:52] [OOC] Cairngorm_Norwich: hello       <<<this is /o our /ooc
[02:49:58] (( [0] Cairngorm_Norwich ьtleb[OOC]: hello ))      <<<this is /b
[02:50:04] * Cairngorm_Norwich hello <<< this is /me
[02:50:07] * hello (( Cairngorm_Norwich ))      <<< this is /do
[02:50:12] [chat] [Cairngorm_Norwich]: hello     <<< and this is normal chat T
and when i typet that server crashed :S
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 2,938
	Threads: 162
	Joined: May 2010
	
	
 
	
	
		public OnPlayerText(playerid, text[])
{
new giver[MAX_PLAYER_NAME];
new sendername[MAX_PLAYER_NAME];
new giveplayer[MAX_PLAYER_NAME];
new tmp[256];
new string[256];
new giveplayerid;
if(PlayerInfo[playerid][pMuted] != 0)
{
SendClientMessage(playerid, TEAM_CYAN_COLOR, "You cannot speak, you have been silenced");
return 0;
}
try that?
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 2,938
	Threads: 162
	Joined: May 2010
	
	
 
	
	
		show me your whole onplayertext