Should be moved to the scripting section.
ramzi, are you new to scripting? If so, I recommend you read some tutorials and familiarise yourself with the Lua language. It's a rather easy language to learn, and very fun. And if you want to find a resource, the best option would be to use community.multitheftauto.com as there are thousands of resources to cater for all your needs.