[Ajuda]Include cop-tools
#1

Pessoal,QUando eu vou compile meu GM da erro nessa include..

Minha include й essa
PHP код:
#include <a_samp>
/*
//////////////////////////////
//////////CopTools////////////
//////////by Geso/////////////
//////////////////////////////
These functions can be used with i.e.:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/arm", cmdtext, true, 10) == 0)
{
PutRiotShieldOnArm(playerid);
return 1;
}
if (strcmp("/back", cmdtext, true, 10) == 0)
{
PutRiotShieldOnBack(playerid);
return 1;
}
if (strcmp("/light", cmdtext, true, 10) == 0)
{
GiveFlashLight(playerid);
return 1;
}
if (strcmp("/tazer", cmdtext, true, 10) == 0)
{
GiveTazer(playerid);
return 1;
}
if (strcmp("/removeitems", cmdtext, true, 10) == 0)
{
if(IsPlayerAttachedObjectSlotUsed(playerid,1)) RemovePlayerAttachedObject(playerid,1);
if(IsPlayerAttachedObjectSlotUsed(playerid,2)) RemovePlayerAttachedObject(playerid,2);
return 1;
}
return 0;
}
*/
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(playerid1863710, -0.10.18900272111);
}
PutRiotShieldOnArm(playerid)
{
if(
IsPlayerAttachedObjectSlotUsed(playerid,1)) RemovePlayerAttachedObject(playerid,1);
SetPlayerAttachedObject(playerid11863740.3000170270111);
}
GiveFlashLight(playerid)
{
if(
IsPlayerAttachedObjectSlotUsed(playerid,2)) RemovePlayerAttachedObject(playerid,2);
SetPlayerAttachedObject(playerid2,1864150.10.02, -0.05000111);
}
GiveTazer(playerid)
{
if(
IsPlayerAttachedObjectSlotUsed(playerid,2)) RemovePlayerAttachedObject(playerid,2);
SetPlayerAttachedObject(playerid2,1864250.120.02, -0.050045,1,1,1);

Bom depois de compile da os seguintes erros:
PHP код:
C:\Users\Twulin\Desktop\Serve\pawno\include\cop-tools.inc(45) : error 017undefined symbol "IsPlayerAttachedObjectSlotUsed"
C:\Users\Twulin\Desktop\Serve\pawno\include\cop-tools.inc(45) : error 017undefined symbol "RemovePlayerAttachedObject"
C:\Users\Twulin\Desktop\Serve\pawno\include\cop-tools.inc(46) : error 017undefined symbol "IsPlayerAttachedObjectSlotUsed"
C:\Users\Twulin\Desktop\Serve\pawno\include\cop-tools.inc(46) : error 017undefined symbol "RemovePlayerAttachedObject"
C:\Users\Twulin\Desktop\Serve\pawno\include\cop-tools.inc(43) : warning 203symbol is never used"playerid"
C:\Users\Twulin\Desktop\Serve\pawno\include\cop-tools.inc(43 -- 51) : error 017undefined symbol "IsPlayerAttachedObjectSlotUsed"
C:\Users\Twulin\Desktop\Serve\pawno\include\cop-tools.inc(43 -- 51) : fatal error 107too many error messages on one line 
Alguem pode me ajuddar?
Reply
#2

Amigo, tem como me passar as linhas: 45, 46, 43, 51 =)
Reply
#3

Quote:
Originally Posted by Joker_OutLock
Посмотреть сообщение
Amigo, tem como me passar as linhas: 45, 46, 43, 51 =)
Aqui:
/* Defines de Funзхes */
#define COMPRARARARA 10
#define VENDERARARA 11
#define COMPRARGAIOLA 12
#define RACAOARARA 13
/* Cores Territorios */
#define COLOR_ROUBOS 0x7ADB82FF
#define MAX_ORG_NAME 500
Reply
#4

1є Isso nгo й include

2є KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK,
ele falou a linha do fs .-.'
Reply
#5

Nгo entendir
Reply
#6

Alguem me ajuda?
Reply
#7

Quote:
Originally Posted by [LF]PlaYer
Посмотреть сообщение
1є Isso nгo й include

2є KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK,
ele falou a linha do fs .-.'
Isso й sim uma include, a nгo ser que vocк queira transforma-la em filterscript.

Quote:
Originally Posted by marcoslucasj
Посмотреть сообщение
Nгo entendir
Quote:
Originally Posted by marcoslucasj
Посмотреть сообщение
Alguem me ajuda?
Conforme disse em um tуpico:
"Nгo sei se sabe, mais bumps (ups), sгo por padrгo permitidos somente a cada 24 horas depois da 1Є postagem. Tуpicos fora desta regras sгo deletados conforme o LuxurioN™ me informou."
Abraзos.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)