Help Help!
#1

Quote:

dcmd(lotto,5, cmdtext);
Line 141

Quote:

C:\Users\Hamza Ali\Desktop\[XTC]Man Server\filterscripts\lotto.pwn(141) : error 017: undefined symbol "dcmd"
C:\Users\Hamza Ali\Desktop\[XTC]Man Server\filterscripts\lotto.pwn(312) : warning 203: symbol is never used: "dcmd_lotto"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

Quote:

There Is No Line 312!

Help!Please Thanks
Reply
#2

lol
pawn Код:
dcmd_lotto(playerid, params[])
{
    #pragma unused params
    return 1;
}
and no clue if you need that or if the first thing already fixes the first bug:
pawn Код:
#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
#3

dont work give me more erros
Reply
#4

Quote:
Originally Posted by Shoaib
Посмотреть сообщение
dont work give me more erros
Show us the errors?

EDIT: @ the post v i meant the new errors it gave you
Reply
#5

There IN The top fix the top 1sn and send me please thanks
Reply
#6

Add this

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    dcmd(lotto, 5, cmdtext);
    return 0;
}

// and then this
dcmd_lotto(playerid, params[])
{
    #pragma unused params
    return 1;
}
Reply
#7

i tryed!
Reply
#8

help please fast
Reply
#9

Try to add this right under includes

pawn Код:
#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
#10

same problam! help fast pleaseeeeeeeeeeeee
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)