cache_get_field_content Error, help please..
#3

Quote:
Originally Posted by Troydere
View Post
For now:

Code:
 cache_get_field_content(i, "id", SprayTags[extraid][i][_spSQLID] = strval(result);
You're missing a brace there, change it for:

Code:
 cache_get_field_content(i, "id", SprayTags[extraid][i][_spSQLID] = strval(result));
EDIT: Also I think this:

Code:
cache_get_field_content(i, "text", SprayTags[extraid][i][_spText], max.len = MAX_PLAYER_NAME);
cache_get_field_content(i, "font", SprayTags[extraid][i][_spFont], max.len = MAX_PLAYER_NAME);
Should be like this:

Code:
cache_get_field_content(i, "text", SprayTags[extraid][i][_spText], .max_len = MAX_PLAYER_NAME);
cache_get_field_content(i, "font", SprayTags[extraid][i][_spFont], .max_len = MAX_PLAYER_NAME);
Notice the .max_len change, that may be your problem.
Thank you for help,
but not work?

Code:
D:\games\NFS 2017 Next Build\gamemodes\NFS AWAL\NFS_BussSpray.pwn(1425) : error 035: argument type mismatch (argument 3)
D:\games\NFS 2017 Next Build\gamemodes\NFS AWAL\NFS_BussSpray.pwn(1431) : error 001: expected token: ",", but found ";"
D:\games\NFS 2017 Next Build\gamemodes\NFS AWAL\NFS_BussSpray.pwn(1432) : error 001: expected token: ",", but found ";"
D:\games\NFS 2017 Next Build\gamemodes\NFS AWAL\NFS_BussSpray.pwn(1433) : error 001: expected token: ",", but found ";"
D:\games\NFS 2017 Next Build\gamemodes\NFS AWAL\NFS_BussSpray.pwn(1434) : warning 213: tag mismatch
D:\games\NFS 2017 Next Build\gamemodes\NFS AWAL\NFS_BussSpray.pwn(1434) : error 001: expected token: ",", but found ";"
D:\games\NFS 2017 Next Build\gamemodes\NFS AWAL\NFS_BussSpray.pwn(1435) : warning 213: tag mismatch
D:\games\NFS 2017 Next Build\gamemodes\NFS AWAL\NFS_BussSpray.pwn(1435) : error 001: expected token: ",", but found ";"
D:\games\NFS 2017 Next Build\gamemodes\NFS AWAL\NFS_BussSpray.pwn(1436) : warning 213: tag mismatch
D:\games\NFS 2017 Next Build\gamemodes\NFS AWAL\NFS_BussSpray.pwn(1436) : error 001: expected token: ",", but found ";"
D:\games\NFS 2017 Next Build\gamemodes\NFS AWAL\NFS_BussSpray.pwn(1437) : warning 213: tag mismatch
D:\games\NFS 2017 Next Build\gamemodes\NFS AWAL\NFS_BussSpray.pwn(1437) : error 001: expected token: ",", but found ";"
D:\games\NFS 2017 Next Build\gamemodes\NFS AWAL\NFS_BussSpray.pwn(1438) : warning 213: tag mismatch
D:\games\NFS 2017 Next Build\gamemodes\NFS AWAL\NFS_BussSpray.pwn(1438) : error 001: expected token: ",", but found ";"
D:\games\NFS 2017 Next Build\gamemodes\NFS AWAL\NFS_BussSpray.pwn(1439) : warning 213: tag mismatch
D:\games\NFS 2017 Next Build\gamemodes\NFS AWAL\NFS_BussSpray.pwn(1439) : error 001: expected token: ",", but found ";"
D:\games\NFS 2017 Next Build\gamemodes\NFS AWAL\NFS_BussSpray.pwn(1440) : error 001: expected token: ",", but found ";"
D:\games\NFS 2017 Next Build\gamemodes\NFS AWAL\NFS_BussSpray.pwn(1441) : error 001: expected token: ",", but found ";"
NFS_NewObjects2.pwn(6772) : warning 217: loose indentation
NFS_NewObjects2.pwn(6788) : warning 217: loose indentation
NFS_NewObjects2.pwn(14829) : warning 217: loose indentation
NFS_NewObjects2.pwn(14845) : warning 217: loose indentation
NFS_NewObjects2.pwn(18188) : warning 217: loose indentation
NFS_NewObjects2.pwn(18190) : warning 217: loose indentation
NFS_NewObjects2.pwn(19033) : warning 217: loose indentation
NFS_NewObjects2.pwn(19050) : warning 217: loose indentation
NFS_NewObjects2.pwn(49563) : warning 217: loose indentation
NFS_NewObjects2.pwn(49803) : warning 217: loose indentation
NFS_NewObjects2.pwn(49804) : warning 217: loose indentation
NFS_NewObjects2.pwn(50091) : warning 217: loose indentation
NFS_NewObjects2.pwn(50161) : warning 217: loose indentation
NFS_NewObjects2.pwn(52387) : warning 217: loose indentation
D:\games\NFS 2017 Next Build\gamemodes\NFS AWAL\NFS_BussSpray.pwn(2244) : warning 219: local variable "year" shadows a variable at a preceding level
D:\games\NFS 2017 Next Build\gamemodes\NFS AWAL\NFS_BussSpray.pwn(2244) : warning 219: local variable "month" shadows a variable at a preceding level
D:\games\NFS 2017 Next Build\gamemodes\NFS AWAL\NFS_BussSpray.pwn(2244) : warning 219: local variable "day" shadows a variable at a preceding level
D:\games\NFS 2017 Next Build\gamemodes\NFS AWAL\NFS_BussSpray.pwn(4035) : error 017: undefined symbol "szQuery"
D:\games\NFS 2017 Next Build\gamemodes\NFS AWAL\NFS_BussSpray.pwn(4035) : error 017: undefined symbol "szQuery"
D:\games\NFS 2017 Next Build\gamemodes\NFS AWAL\NFS_BussSpray.pwn(4041) : warning 225: unreachable code
D:\games\NFS 2017 Next Build\gamemodes\NFS AWAL\NFS_BussSpray.pwn(7457) : warning 219: local variable "Position" shadows a variable at a preceding level
D:\games\NFS 2017 Next Build\gamemodes\NFS AWAL\NFS_BussSpray.pwn(7462) : error 028: invalid subscript (not an array or too many subscripts): "Position"
D:\games\NFS 2017 Next Build\gamemodes\NFS AWAL\NFS_BussSpray.pwn(7462) : warning 215: expression has no effect
D:\games\NFS 2017 Next Build\gamemodes\NFS AWAL\NFS_BussSpray.pwn(7462) : error 001: expected token: ";", but found "]"
D:\games\NFS 2017 Next Build\gamemodes\NFS AWAL\NFS_BussSpray.pwn(7462) : error 029: invalid expression, assumed zero
D:\games\NFS 2017 Next Build\gamemodes\NFS AWAL\NFS_BussSpray.pwn(7462) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


18 Errors.
Reply


Messages In This Thread
cache_get_field_content Error, help please.. - by DandyCorleone - 26.02.2017, 03:01
Re: cache_get_field_content Error, help please.. - by Toroi - 26.02.2017, 03:05
Re: cache_get_field_content Error, help please.. - by DandyCorleone - 26.02.2017, 03:53
Re: cache_get_field_content Error, help please.. - by X337 - 26.02.2017, 10:12

Forum Jump:


Users browsing this thread: 1 Guest(s)