07.12.2012, 18:03
I'm starting out with pawn and i got a few questions.
I understand tht you always start with #include <a_samp>
but why does you use a_samp specifically..What is a samp?
Also what is the difference between funtions and callbacks because i can't seem to find the difference between the two. Can you give me an example of each please?
If main () is called when the server starts why can one simply put it at the end? Doesn't the computer run the program step by step line by line or can it also start at the end, then go to the beginning and then work in the middle?
I always see public betfore something. Why does on need to type in public? whats the use of it?
And can someone also please explain OnGameModeInit?
Sorry for all the questions but im trying to learn pawn and basically know extremely little thus far:/
I understand tht you always start with #include <a_samp>
but why does you use a_samp specifically..What is a samp?
Also what is the difference between funtions and callbacks because i can't seem to find the difference between the two. Can you give me an example of each please?
If main () is called when the server starts why can one simply put it at the end? Doesn't the computer run the program step by step line by line or can it also start at the end, then go to the beginning and then work in the middle?
I always see public betfore something. Why does on need to type in public? whats the use of it?
And can someone also please explain OnGameModeInit?
Sorry for all the questions but im trying to learn pawn and basically know extremely little thus far:/