Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×
  • 0

Question

Posted

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.

8 answers to this question

Recommended Posts

Posted

Apare la fel

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.

Posted

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.

Posted

baga unde ai sus si celalate #pragma astea doua:

#pragma unused RemoveItems

si:

#pragma dynamic 140000

si alea nu sunt errori...alea sunt warnuri cu ele poti juca...ti se copileaza...cu ele..

Fara reclama in semnatura!

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.