14.02.2013, 18:44
hi, there is bug when i chat in servr there is space between chat like this:
onplayertext:
===============
another error here
Pawn:
Error:
onplayertext:
PHP код:
public OnPlayerText(playerid, text[])
{
if(IsAFK[playerid] == 1)
format(CantTalk, 128, "Type /back");
SendClientMessage(playerid, red2, CantTalk);
return 1;
}
another error here
Pawn:
PHP код:
COMMAND:exit(playerid, params[])
{
SendClientMessage(playerid, COLOR_GREEN, "{0D4CD6}You left DM.");
SpawnPlayer(playerid);
SetPlayerHealth(playerid, 100);
ResetPlayerWeapons(playerid);
SetPlayerVirtualWorld(playerid, 0);
SetPlayerInterior(playerid, 0);
return 1;
}
return 0;
}
Код:
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.