Jump to content
  • 0

Problema la compilare


Remus

Question

Salut, am luat un GameMod de pe sa-mp.com si am o problema la comprimare, imi apare acest mesaj de la un include.

D:\Diverse\GameMode\SaMP30\gamemodes\nadal.pwn(23) : fatal error 100: cannot read from file: "cop-tools"

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


1 Error.
Fisierul Cop-tools este acesta.
#include <a_samp>

/*
//////////////////////////////
//////////CopTools////////////
//////////by Geso/////////////
//////////////////////////////

These functions can be used with i.e.:

*/

RemoveItems(playerid)
{
	        if(IsPlayerAttachedObjectSlotUsed(playerid,1)) RemovePlayerAttachedObject(playerid,1);
	        if(IsPlayerAttachedObjectSlotUsed(playerid,2)) RemovePlayerAttachedObject(playerid,2);
}

PutRiotShieldOnBack(playerid)
{
	    if(IsPlayerAttachedObjectSlotUsed(playerid,1)) RemovePlayerAttachedObject(playerid,1);
		SetPlayerAttachedObject(playerid, 1 , 18637, 1, 0, -0.1, 0.18, 90, 0, 272, 1, 1, 1);
}

PutRiotShieldOnArm(playerid)
{
	    if(IsPlayerAttachedObjectSlotUsed(playerid,1)) RemovePlayerAttachedObject(playerid,1);
		SetPlayerAttachedObject(playerid, 1, 18637, 4, 0.3, 0, 0, 0, 170, 270, 1, 1, 1);
}

GiveFlashLight(playerid)
{
	    if(IsPlayerAttachedObjectSlotUsed(playerid,2)) RemovePlayerAttachedObject(playerid,2);
		SetPlayerAttachedObject(playerid, 2,18641, 5, 0.1, 0.02, -0.05, 0, 0, 0, 1, 1, 1);
}

GiveTazer(playerid)
{
	    if(IsPlayerAttachedObjectSlotUsed(playerid,2)) RemovePlayerAttachedObject(playerid,2);
		SetPlayerAttachedObject(playerid, 2,18642, 5, 0.12, 0.02, -0.05, 0, 0, 45,1,1,1);
}


Sunt cateva obiecte puse pe arme si mai multe prostii la acest include.

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

Alta eroare :D

D:\Diverse\GameMode\SaMP30\gamemodes\nadal.pwn(48654) : warning 203: symbol is never used: "RemoveItems"
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase

Header size:           9276 bytes
Code size:          1732252 bytes
Data size:         10459188 bytes
Stack/heap size:      16384 bytes; estimated max. usage=5266 cells (21064 bytes)
Total requirements:12217100 bytes

1 Warning.

Link to comment
Share on other sites

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.