Weird errors, Most probably linked to the first one
#1

Code:
C:\Users\Torran\Desktop\sa-mp\filterscripts\engine.pwn(246) : error 017: undefined symbol "dcmd_exit"
C:\Users\Torran\Desktop\sa-mp\filterscripts\engine.pwn(281) : warning 217: loose indentation
C:\Users\Torran\Desktop\sa-mp\filterscripts\engine.pwn(281) : error 017: undefined symbol "dcmd_exit"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
The loose indentation error is really weird,
As the pawn code is:

pawn Code:
dcmd_exit(playerid, params[])
So i cant fix that,
Plus the undefined symbol, But it isent

pawn Code:
public OnPlayerCommandText(playerid, cmdtext[])
{
    dcmd(exit, 4, cmdtext);
    dcmd(engine, 6, cmdtext);
    return 0;
}
Anyone have any idea?
Reply
#2

Top script

#pragma tabsize 0
Reply
#3

Do you have
Code:
#define dcmd(%1,%2,%3) if ((strcmp((%3)[1], #%1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (dcmd_%1(playerid, "")))||(((%3)[(%2) + 1] == 32) && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1
in your script?
Reply
#4

Quote:
Originally Posted by E1edge
Do you have
Code:
#define dcmd(%1,%2,%3) if ((strcmp((%3)[1], #%1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (dcmd_%1(playerid, "")))||(((%3)[(%2) + 1] == 32) && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1
in your script?
Yes

Quote:
Originally Posted by JustinSton
Top script

#pragma tabsize 0
Leaves me with 1st And 3rd Error
Reply
#5

pawn Code:
dcmd_exit(playerid, params[])
{
  //code here
}

What is on lines 246 and 281?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)