Jump to content

Question

Posted

Deci am GM Mioveni si cand dau compilare imi dai eroare asta.

C:\Documents and Settings\BogdaneL\My Documents\Downloads\Mioveni-RPG\gamemodes\GF.pwn(7) : fatal error 100: cannot read from file: "ChatColor"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
Si in gm am asa:
#include <ChatColor>
forward ChatColor(Float:radi, playerid, string[]);
if (realchat)
	{
	    if(gPlayerLogged[playerid] == 0)
	    {
	        return 0;
      	}
      	if(Ptexted[playerid] == 1)
       	{
        SendClientMessage(playerid, 0xFFFF00FF, "Anti-Spam: Te rugam sa aspteti 2 secunde pentru a scrie dinou !");
        return 0;
       	}
		GetPlayerName(playerid, sendername, sizeof(sendername));
		format(string, sizeof(string), "%s", text);
		ChatColor(20.0, playerid,string);
		SetTimerEx("AntiChatSpam", 2000, false, "i", playerid);
		Ptexted[playerid] = 1;
		return 0;
	}
	return 1;
}

Si include e luat de aici: http://www.xerom-zone.ro/download/ChatColor.zip

Ce trebuie sa fac sa numi mai imi da eroare sau ce sa inlocuiesc chatcolor?

LISTA - GAMEMODE-URI SA-MP - Le gasiti pe toate aici: http://twiriock.com/3MGP

2 answers to this question

Recommended Posts

Posted

Pune ChatColor.inc in Pawno/include/ .

Dupaia deschide gm-u cu pawno din folderul unde ai pus include.

Si vezi sa modifici acolo sa returneze 0, ca altfel o sa ai bug :)

Stiu si eu ... branza e pe bani, dar eu tot ma joc pe gratis!

Posted

Pune ChatColor.inc in Pawno/include/ .

Dupaia deschide gm-u cu pawno din folderul unde ai pus include.

Si vezi sa modifici acolo sa returneze 0, ca altfel o sa ai bug :)

Multumesc mai ajutat.

LISTA - GAMEMODE-URI SA-MP - Le gasiti pe toate aici: http://twiriock.com/3MGP

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.