07.12.2012, 18:48
I suggest you something, don't start with a blank gamemode because you will be like
"Wtf? i'm gonna to script this ***** ?", start with a script maded by other people and edit it
from message , to function , from adding a command , to adding a system and more....more..
because is very hard to start with a blank script
Also , i expalined you with a_samp is, is a library ( a txt file ( text doccument) with a lot of function)
The difference between function and callbacks is the next
Functions:
- You can script it , and don't give errors if not scripted good , until you use it
- Is lower than a callback
- you can create an extra function , like adding more function into a one and making that function the best tool for you
-and more...
Callback:
Is need to use forward , and you will ask "But , why i must add forward ..?" , because that forward practicaly define the callback, without them , is something like use a command like if that command doesn't exist
- Is used only when you connect it to whatever you want, or when you create a timer
- is faster than function
and more...
main() , doesn't need to be put in top of script , this doesn't need more info about this , watch at scripting basics
and i know a lot more you can pm me , and give you your adrees, so i can help you
Sorry about grammar mistakes , i write fast
"Wtf? i'm gonna to script this ***** ?", start with a script maded by other people and edit it
from message , to function , from adding a command , to adding a system and more....more..
because is very hard to start with a blank script
Also , i expalined you with a_samp is, is a library ( a txt file ( text doccument) with a lot of function)
The difference between function and callbacks is the next
Functions:
- You can script it , and don't give errors if not scripted good , until you use it
- Is lower than a callback
- you can create an extra function , like adding more function into a one and making that function the best tool for you
-and more...
Callback:
Is need to use forward , and you will ask "But , why i must add forward ..?" , because that forward practicaly define the callback, without them , is something like use a command like if that command doesn't exist
- Is used only when you connect it to whatever you want, or when you create a timer
- is faster than function
and more...
main() , doesn't need to be put in top of script , this doesn't need more info about this , watch at scripting basics
and i know a lot more you can pm me , and give you your adrees, so i can help you

Sorry about grammar mistakes , i write fast
