Crespo_ Posted April 21, 2014 Share Posted April 21, 2014 Tengo Un vendito error: WARNING: Loading script failed: Gang-System/Trufs.lua:5: unfinished string near '"local turfPos = {' Link to comment
Crespo_ Posted April 21, 2014 Author Share Posted April 21, 2014 aqui les dejo la linea. addEventHandler( 'onResourceStart', resourceRoot, function() sql.Query( "CREATE TABLE IF NOT EXISTS Gang_truf (\ ID INTEGER, X REAL, Y REAL, W REAL,\ H REAL, Gang STRING, R ,\ G , B , sX REAL, sY REAL, sZ REAL )" ) setTimer (TiempoDeTrufs, 50000, 0) local t = sql.Query( "SELECT * FROM Gang_truf" ) for i = 1, #t do createTruf( t[i].ID, t[i].X, t[i].Y, t[i].W, t[i].H, t[i].Gang, t[i].R, t[i].G, t[i].B, t[i].sX, t[i].sY, t[i].sZ ) end end ) Link to comment
Guest Posted April 21, 2014 Share Posted April 21, 2014 En primeras, no hagas repost (Lo digo porque vi 2 posts tuyos del mismo caso) y para comenzar el problema que nos muestras no lo veo en ninguna parte del script que posteaste Link to comment
Crespo_ Posted April 21, 2014 Author Share Posted April 21, 2014 ya lo solucioné, perdon por hacer un repost. Link to comment
Tomas Posted April 21, 2014 Share Posted April 21, 2014 Crespo, una de las reglas de este foro es que "No ayudan con scripts robados". Link to comment
Recommended Posts