register problem! help!!!!
#1

i have this on the icludes and no errors

Код:
#include <a_samp>
#include "../include/gl_common.inc"
but when i put this

Код:
#include <dutils>
#include <dudb>
for make register/login system i have this errors

Код:
C:\Users\Billys\Desktop\sa-mp\pawno\include\dutils.inc(28) : error 021: symbol already defined: "isNumeric"
C:\Users\Billys\Desktop\sa-mp\pawno\include\dutils.inc(379) : error 025: function heading differs from prototype
C:\Users\Billys\Desktop\sa-mp\pawno\include\dutils.inc(380) : error 021: symbol already defined: "strtok"
C:\Users\Billys\Desktop\sa-mp\pawno\include\dutils.inc(395) : error 047: array sizes do not match, or destination array is too small
C:\Users\Billys\Desktop\sa-mp\gamemodes\cartheft.pwn(629) : warning 203: symbol is never used: "ret_memcpy"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
on this lines

Код:
28 line - #define COLOR_SYSTEM 0xEFEFF7AA
379 - 382 lines - 
public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
	return 1;
}
394 - 397 lines - 
public OnPlayerExitedMenu(playerid)
{
	return 1;
}
629 line - i dont have 629 line it stop at 628 line.
pls help!!
Reply
#2

Try not to include both as dudb.inc has
[pawno]#pragma library dutils
#include <dutils>
#include <dini>
[/pawno]
Hope it helps!
Reply
#3

Put this at the top of your script for the last warning:

Код:
#pragma unused strtok
#pragma unused ret_memcpy
And yea, the line 28 is not the error, try checking the code above it.
You must be having "stock strtok" and "isNumeric" defined somewhere the second time.
Reply
#4

i tried both but noone worked thanks for helping me anyway!
Reply
#5

Quote:
Originally Posted by billiout
C:\Users\Billys\Desktop\sa-mp\pawno\include\dutils.inc(2 : error 021: symbol already defined: "isNumeric"
The errors are in dutils.inc not in your script.
Reply
#6

and what can i do now? i need register system to save money. thanks for helping me!
Reply
#7

Do you need gl_common.inc in your script?
Reply
#8

problem solved!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)