01.04.2011, 15:59
i use GodFather mode..
my gamemode was without errors, and when i put in my script MySQL, i have this 2 error!!
errors:
lines:
168:
7631:
my gamemode was without errors, and when i put in my script MySQL, i have this 2 error!!
errors:
Код:
C:\Documents and Settings\Toni Bedy\Desktop\lecevica!!\gamemodes\maddoxgf.pwn(168) : error 025: function heading differs from prototype C:\Documents and Settings\Toni Bedy\Desktop\lecevica!!\gamemodes\maddoxgf.pwn(7631) : error 025: function heading differs from prototype Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors.
168:
Код:
forward split(const strsrc[], strdest[][], delimiter);
Код:
ppublic split(const strsrc[], strdest[][], delimiter) { new i, li; new aNum; new len; while(i <= strlen(strsrc)){ if(strsrc[i]==delimiter || i==strlen(strsrc)){ len = strmid(strdest[aNum], strsrc, li, i, 128); strdest[aNum][len] = 0; li = i+1; aNum++; } i++; } return 1; }