pawn-lang / compiler

Pawn compiler for SA-MP with bug fixes and new features - runs on Windows, Linux, macOS
Other
303 stars 70 forks source link

error 001: expected token: ")", but found "[" #667

Open stenixx opened 3 years ago

stenixx commented 3 years ago

stock TogglePlayerBackpack(playerid, bool:wear) { if(PBInfo[playerid][Type] == BACKPACK_TYPE_LARGE) // error line { if(wear == true) { SetPlayerAttachedObject(playerid, 7, 3026, 1, -0.110900, -0.073500, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 1.000000, 1.000000); PBInfo[playerid][IsWearing] = true; } else if(wear == false) { RemovePlayerAttachedObject(playerid, 7); PBInfo[playerid][IsWearing] = false; } } .....

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity.