deci am luat modul raven cu gandul sa il pun pe 0.3c si sa modific cam 80 la suta continutul lui
Dar cand sa dau compile cu 0.3c FARA NICI O MODIFICARE FACUTA imi dau 26 de erori
Repet,doar am deschis si am dat compile
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(5394) : error 017: undefined symbol "IsPlayerHoldingObject"
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(5396) : error 017: undefined symbol "StopPlayerHoldingObject"
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(5397) : error 017: undefined symbol "SetPlayerHoldingObject"
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(5401) : error 017: undefined symbol "SetPlayerHoldingObject"
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(5406) : error 017: undefined symbol "SetPlayerHoldingObject"
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(5424) : error 017: undefined symbol "IsPlayerHoldingObject"
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(5426) : error 017: undefined symbol "StopPlayerHoldingObject"
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(8298) : error 017: undefined symbol "StopPlayerHoldingObject"
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(25132) : error 021: symbol already defined: "strtok"
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(25147) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(26658) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(26718) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(26771) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(27439) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(27498) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(28179) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(28207) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(28218) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(28278) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(28547) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(28574) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(28604) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(28612) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(28646) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(28654) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(28687) : error 047: array sizes do not match, or destination array is too small
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.
iar cu 0.3b merge perfect dar nu stiu de ce face figuri la 0.3c
Unele functii sunt schimbate si trebuiesc inlocuite sau facute altfel. Cauta pe wiki.sa-mp.com sa vezi diferentele.
m-am uitat pe wiki.sa-mp.com si uite cum scrie
http://wiki.sa-mp.com/wiki/IsPlayerHoldingObject (http://wiki.sa-mp.com/wiki/IsPlayerHoldingObject)
sterg toate cu Holding Object sa vedem ce iese si revin cu EDIT
EDIT: Am sters tot ce era cu HoldingObject dar acum au aparut alte 26 de erori legate de "strtok"
am inlocuit cu cea ce este pe wiki dar tot degeaba erau identice
C:\Documents and Settings\RomaninRolePlay\Desktop\New Folder\gamemodes\BlackSoftRp.pwn(25071) : error 021: symbol already defined: "strtok"
C:\Documents and Settings\RomaninRolePlay\Desktop\New Folder\gamemodes\BlackSoftRp.pwn(25086) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\New Folder\gamemodes\BlackSoftRp.pwn(26595) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\New Folder\gamemodes\BlackSoftRp.pwn(26655) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\New Folder\gamemodes\BlackSoftRp.pwn(26708) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\New Folder\gamemodes\BlackSoftRp.pwn(27376) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\New Folder\gamemodes\BlackSoftRp.pwn(27435) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\New Folder\gamemodes\BlackSoftRp.pwn(28116) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\New Folder\gamemodes\BlackSoftRp.pwn(28144) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\New Folder\gamemodes\BlackSoftRp.pwn(28155) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\New Folder\gamemodes\BlackSoftRp.pwn(28215) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\New Folder\gamemodes\BlackSoftRp.pwn(28484) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\New Folder\gamemodes\BlackSoftRp.pwn(28511) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\New Folder\gamemodes\BlackSoftRp.pwn(28541) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\New Folder\gamemodes\BlackSoftRp.pwn(28549) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\New Folder\gamemodes\BlackSoftRp.pwn(28583) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\New Folder\gamemodes\BlackSoftRp.pwn(28591) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\New Folder\gamemodes\BlackSoftRp.pwn(28624) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\New Folder\gamemodes\BlackSoftRp.pwn(28669) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\New Folder\gamemodes\BlackSoftRp.pwn(28732) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\New Folder\gamemodes\BlackSoftRp.pwn(28790) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\New Folder\gamemodes\BlackSoftRp.pwn(28798) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\New Folder\gamemodes\BlackSoftRp.pwn(28833) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\New Folder\gamemodes\BlackSoftRp.pwn(28841) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\New Folder\gamemodes\BlackSoftRp.pwn(29068) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\New Folder\gamemodes\BlackSoftRp.pwn(29122) : error 047: array sizes do not match, or destination array is too small
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.
Nu, baga-le la loc si fa astea:
1.Adauga sus in script:
#define SetPlayerHoldingObject(%1,%2,%3,%4,%5,%6,%7,%8,%9) SetPlayerAttachedObject(%1,MAX_PLAYER_ATTACHED_OBJECTS-1,%2,%3,%4,%5,%6,%7,%8,%9)
#define StopPlayerHoldingObject(%1) RemovePlayerAttachedObject(%1,MAX_PLAYER_ATTACHED_OBJECTS-1)
#define IsPlayerHoldingObject(%1) IsPlayerAttachedObjectSlotUsed(%1,MAX_PLAYER_ATTACHED_OBJECTS-1)
2.Pune sus in script:
#pragma unused strtok
strtok(const stringstrtok[], &index)
{
new length = strlen(stringstrtok);
while ((index < length) && (stringstrtok[index] <= ' ')) { index++; }
new offset = index, result[20];
while ((index < length) && (stringstrtok[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
{
result[index - offset] = stringstrtok[index];
index++;
}
result[index - offset] = EOS;
return result;
}
si sterge strtok daca mai e undeva prin script, functia.
Si atat ...
prima a mers dar a 2a lasa de dorit....
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(25135) : error 025: function heading differs from prototype
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(25136) : error 021: symbol already defined: "strtok"
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(25147) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(26658) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(26718) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(26771) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(27439) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(27498) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(28179) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(28207) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(28218) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(28278) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(28547) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(28574) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(28604) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(28612) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(28646) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(28654) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(28687) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(28732) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(28795) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(28853) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(28861) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(28896) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(28904) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RomaninRolePlay\Desktop\Ravens\gamemodes\larp.pwn(29131) : error 047: array sizes do not match, or destination array is too small
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.
Mai ai idei?
Incearca tu te rog frumos sa il faci pt 0.3c daca poti
rezolvat