hello,
#1

hi i have this error idk why i get it
Quote:

C:\Documents and Settings\NightDay\Desktop\Day_Cops_And_Robbers\Day _Cops_And_Robbers\gamemodes\Cops_Robbers.pwn(17660 ) : warning 203: symbol is never used: "dcmd_breakcuff"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Warning.

this line

PHP код:
dcmd_breakcuff(playerid,params[])
{
    
#pragma unused params
    
new string[128];
    new 
ID;
    if(
IsSpawned[playerid] != 1)
    {
        
SendClientMessage(playerid,COLOR_ERROR,"You must be alive and spawned in order to be able to use this command.");
        return 
1;
    }
    if(
IsCuffed[playerid] == 0)
    {
        
SendClientMessage(playeridCOLOR_RED"You're not currently cuffed.");
        return 
1;
    }
    if(
CuffBreakFailed[i] > 1)
    {
        
SendClientMessage(playeridCOLOR_RED"You've recently tried but failed, please wait.");
        return 
1;
    }
    
CuffTimer[playerid] =10;
    
SendClientMessage(playerid, -1,"You are breaking cuffs, please wait 10 seconds.");
    return 
1;

and i have Defince DCMD
Quote:

#define dcmd(%1,%2,%3) if (!strcmp((%3)[1], #%1, true, (%2)) && ((((%3)[(%2) + 1] == '\0') && (dcmd_%1(playerid, ""))) || (((%3)[(%2) + 1] == ' ') && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1

Reply


Messages In This Thread
hello, - by nightday - 02.09.2014, 14:47
Re: hello, - by Stinged - 02.09.2014, 14:50

Forum Jump:


Users browsing this thread: 1 Guest(s)