PAWN natively doesn't support OOP. There are ways to implement OOP type of programing in PAWN, you can see about them here https://sampforum.blast.hk/showthread.php?tid=167528
However the full OOP type of programming is currently not possible in PAWN.