PDA

View Full Version : Please Help me


UFF
04/03/2018, 01:58 AM
Error: Expected token: "-string end-", but found "-identifier-"

Error Line
new DB: Database;



How can I fix this?

UFF
04/03/2018, 03:14 AM
// above
new pToys[MAX_PLAYERS][6][e_toy_data];
new toySelected[MAX_PLAYERS];

new DB: Database;

// below
new bool:BoughtVehicle[MAX_PLAYERS],
PlayerVehicle[MAX_PLAYERS],
pVehicle[MAX_PLAYERS];

KaRToNiToS
04/03/2018, 04:42 AM
Try this



new DB[MAX_PLAYERS][Database];

AroseKhanNiazi
04/03/2018, 05:30 AM
Mind if you show the definition of DB?