How to script
#1

Help. How do I get at the Scripting? I do not understand how other scripting PAWNOS then only a few words and numbers. How do I know where you want to remove and what to include for example, how you can help please add a car rental

I do not speak English because I use ****** translator
Reply
#2

If you cant script at all, dont start with such difficult things like car systems. Start with going through existing scripts, like the gamemodes downloaded with the server or simple filterscripts here in the forum, and try to understand what they are doing. Then try to modifiy them a bit, can be something total useless, just try to pawns grammar and functions. The wiki will help you, if you want to know something about a specific function: http://wiki.sa-mp.com

If you think you got the major things, and can understand (at least with the help of the wiki and some time) most scripts you look at, you can start trying to script something bigger yourself.
Reply
#3

As Mauzen said, try to start with smaller things first, and trying to understand other scripts (simple ones) before attempting your own. It's best to start modifying existent SMALL scripts (that is, not a godfather gamemode, but a rivershell for example). There are quite a few useful tutorials at the wiki, this one has been around the wiki forever and it's a very nice place to start.
In any case, you will find out that trying to read and understand other scripts, and gradually adding new stuff to single scripts is the best way to learn, until you know enough as to start your own script.
Learning to script is not a 2 days thing, it takes a while, and is a very nice introduction to the world of computer programming if you ever plan to do this proffessionally in your future.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)