[Pomoc]2 Errora

Započeo hood9, Septembar 20, 2011, 20:59:44 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

C:\Users\USER\Desktop\SAMP\Noxicus Server\filterscripts\rRace.pwn(51) : error 017: undefined symbol "ret_memcpy"
C:\Users\USER\Desktop\SAMP\Noxicus Server\filterscripts\rRace.pwn(1195) : warning 203: symbol is never used: "ReturnUser"
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
Poslednja Izmena: Septembar 21, 2011, 21:29:10 POSLE PODNE od hood9

probaj ubacit include "dutils"

download - http://dracoblue.net/download-release/30/dutils_1_10.zip


Kod (barel_nafte) [Izaberi]
ret_memcpy(source[],index=0,numbytes) {
new tmp[MAX_STRING];
new i=0;
tmp[0]=0;
if (index>=strlen(source)) return tmp;
if (numbytes+index>=strlen(source)) numbytes=strlen(source)-index;
if (numbytes<=0) return tmp;
for (i=index;i<numbytes+index;i++) {
tmp[i-index]=source[i];
if (source[i]==0) return tmp;
}
tmp[numbytes]=0;
return tmp;
}
Poslednja Izmena: Septembar 21, 2011, 21:38:30 POSLE PODNE od ♣ K4[Я]!K3™ ♣