#1

sorry for the trouble but how could i fix this ?
C:\Users\jack\Desktop\samp-server\filterscripts\xObjects.pwn(29) : error 001: expected token: "}", but found "{"


these are lines 26 to 31


{11507, 1460.113281, -108.135841, 194.861435, 0.0, 0.0, 180.0, 1000.0},
{11507, 1214.021240, -107.197754, 197.665619, 0.0, 0.0, 180.0,1000.0},
{11507, 960.208008, -106.939079, 217.257339, 0.0, 0.0, 180.0,1000.0}
{2910, 2986.7754, -737.3560, 9.9633, 0.0000, 0.0000, 271.5203, 500.0},
{8420, 3109.1145, -725.4447, 10.0356, 0.0000, 0.0000, 90.9952, 500.0},
{7885, 3122.7190, -724.2742, 10.0121, 0.0000, 0.0000, 0.5000, 500.0},

thanks



please help me !!!!
Reply
#2

pawn Код:
{11507, 1460.113281, -108.135841, 194.861435, 0.0, 0.0, 180.0, 1000.0},
{11507, 1214.021240, -107.197754, 197.665619, 0.0, 0.0, 180.0,1000.0},
{11507, 960.208008, -106.939079, 217.257339, 0.0, 0.0, 180.0,1000.0},
{2910, 2986.7754, -737.3560, 9.9633, 0.0000, 0.0000, 271.5203, 500.0},
{8420, 3109.1145, -725.4447, 10.0356, 0.0000, 0.0000, 90.9952, 500.0},
{7885, 3122.7190, -724.2742, 10.0121, 0.0000, 0.0000, 0.5000, 500.0}
You messed up on one of the commas.
Reply
#3

oh great now its sayin this


error 001: expected token: "}", but found "enum"





enum player_info
{
objid[sizeof(Objects)],
bool:view[sizeof(Objects)]
}
new Player[MAX_PLAYERS][player_info];

so sorry for the trouble if ya cant be assed ill forget it
Reply
#4

Should be like:
pawn Код:
{
{11507, 1460.113281, -108.135841, 194.861435, 0.0, 0.0, 180.0, 1000.0},
{11507, 1214.021240, -107.197754, 197.665619, 0.0, 0.0, 180.0,1000.0},
{11507, 960.208008, -106.939079, 217.257339, 0.0, 0.0, 180.0,1000.0},
{2910, 2986.7754, -737.3560, 9.9633, 0.0000, 0.0000, 271.5203, 500.0},
{8420, 3109.1145, -725.4447, 10.0356, 0.0000, 0.0000, 90.9952, 500.0},
{7885, 3122.7190, -724.2742, 10.0121, 0.0000, 0.0000, 0.5000, 500.0}
};
enum player_info
{
objid[sizeof(Objects)],
bool:view[sizeof(Objects)]
};
new Player[MAX_PLAYERS][player_info];
Reply
#5

dude your a legend its compiled thanks alot XD
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)