[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


Messages In This Thread
[Ajuda]Include cop-tools - by marcoslucasj - 04.05.2012, 20:16
Re: [Ajuda]Include cop-tools - by Joker_OutLock - 04.05.2012, 20:32
Re: [Ajuda]Include cop-tools - by marcoslucasj - 04.05.2012, 20:41
Re: [Ajuda]Include cop-tools - by dPlaYer_ - 04.05.2012, 20:46
Re: [Ajuda]Include cop-tools - by marcoslucasj - 04.05.2012, 20:53
Re: [Ajuda]Include cop-tools - by marcoslucasj - 04.05.2012, 21:30
Re: [Ajuda]Include cop-tools - by Lуs - 04.05.2012, 21:35

Forum Jump:


Users browsing this thread: 1 Guest(s)