Lots of errors
#1

Me and my friends RP server, Sweet Life RP uses an edited Carlito's Roleplay script.

I edited 2 lines, and get 9 errors from other lines, IDK how to fix them..

here are the errors

Code:
C:\Program\SAMP Server\gamemodes\crp.pwn(7233) : error 047: array sizes do not match, or destination array is too small
C:\Program\SAMP Server\gamemodes\crp.pwn(7292) : error 047: array sizes do not match, or destination array is too small
C:\Program\SAMP Server\gamemodes\crp.pwn(9940) : error 047: array sizes do not match, or destination array is too small
C:\Program\SAMP Server\gamemodes\crp.pwn(10068) : error 047: array sizes do not match, or destination array is too small
C:\Program\SAMP Server\gamemodes\crp.pwn(10381) : error 047: array sizes do not match, or destination array is too small
C:\Program\SAMP Server\gamemodes\crp.pwn(14106) : error 025: function heading differs from prototype
C:\Program\SAMP Server\gamemodes\crp.pwn(14107) : error 021: symbol already defined: "strtok"
C:\Program\SAMP Server\gamemodes\crp.pwn(14117) : error 047: array sizes do not match, or destination array is too small
C:\Program\SAMP Server\gamemodes\crp.pwn(16164) : error 021: symbol already defined: "HexToInt"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


9 Errors.
This is what i added:

pawn Code:
GivePlayerWeapon(playerid, 41, 700);
    GivePlayerWeapon(playerid, 31, 800);

// On lines 5172 and 5173
Help..?
Reply
#2

Give the lines with errors not this ;x

Code:
symbol already defined: "strtok"
symbol already defined: "HexToInt"
Delete function strtok and HexToInt
Reply
#3

When I delete strtok my Compiler crashes? What the fuck?
Reply
#4

After you have deleted strtok make sure you have no unmatched opening/closing braces
Reply
#5

Quote:
Originally Posted by JeNkStAX
After you have deleted strtok make sure you have no unmatched opening/closing braces
Isnt working, only gives me more errors...
Reply
#6

I'm Having problems with this too...
Reply
#7

change array sizes on error lines ,it must be something like this
pawn Code:
new Something[1] = { 1,2, }; // you have 2,but you can have 1
Reply
#8

Code:
C:\Program\SAMP Server\gamemodes\crp.pwn(7230) : error 047: array sizes do not match, or destination array is too small
Line 7230:
Code:
x_info = strtok(cmdtext, idx);
Maybe u are wrong... ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)