Chat error
#1

hi, there is bug when i chat in servr there is space between chat like this:



onplayertext:
PHP код:
public OnPlayerText(playeridtext[])
{
        if(
IsAFK[playerid] == 1)
        
format(CantTalk128"Type /back");
        
SendClientMessage(playeridred2CantTalk);
           return 
1;

===============
another error here

Pawn:
PHP код:
COMMAND:exit(playeridparams[])
{
            
SendClientMessage(playeridCOLOR_GREEN"{0D4CD6}You left DM.");
            
SpawnPlayer(playerid);
            
SetPlayerHealth(playerid100);
             
ResetPlayerWeapons(playerid);
            
SetPlayerVirtualWorld(playerid0);
            
SetPlayerInterior(playerid0);
            return 
1;
            }
   return 
0;

Error:
Код:
C:\Users\hp\Desktop\server 2\filterscripts\MAP3.pwn(301) : error 029: invalid expression, assumed zero
C:\Users\hp\Desktop\server 2\filterscripts\MAP3.pwn(301) : error 017: undefined symbol "cmd_exit"
C:\Users\hp\Desktop\server 2\filterscripts\MAP3.pwn(301) : error 029: invalid expression, assumed zero
C:\Users\hp\Desktop\server 2\filterscripts\MAP3.pwn(301) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Reply


Messages In This Thread
Chat error - by AhmadKing - 14.02.2013, 18:44
Re: Chat error - by RedWingz - 14.02.2013, 18:57
Re: Chat error - by AhmadKing - 15.02.2013, 16:12
Re: Chat error - by CrazyChoco - 15.02.2013, 16:18
Re: Chat error - by AhmadKing - 15.02.2013, 17:35
Re: Chat error - by AhmadKing - 17.02.2013, 13:52

Forum Jump:


Users browsing this thread: 1 Guest(s)