littlewhitey's Servers Forum (SA-MP/VC-MP/MTA/Zomboid)

Other => Off-Topic => Programming => Topic started by: Simon on November 06, 2010, 05:02:25 AM

Title: SA:MP Scripting References
Post by: Simon on November 06, 2010, 05:02:25 AM

You can feel free to post any references below.
Title: Re: SA:MP Scripting References
Post by: Slice on November 06, 2010, 03:10:48 PM
Understanding the SA-MP sync. (http://forum.sa-mp.com/showthread.php?t=184118)
A tutorial on basic SA-MP client-server communication. Also available in spanish (http://forum.sa-mp.com/showthread.php?t=185759).
Title: Re: SA:MP Scripting References
Post by: Faraday on November 06, 2010, 03:58:32 PM
MySQL Tutorial for beginners. (http://wiki.sa-mp.com/wiki/MySQL_Tutorial)

Very basic mysql tutorial which teaches you how to connect to, send and receive information from a mysql database.
Title: Re: SA:MP Scripting References
Post by: Slide on August 16, 2011, 10:38:47 PM
Want to make your own first Game Mode?

Really basic, but very helpful.

Click me for link (http://weedarr.wikidot.com/tutorials)

This should get you starting.

Have fun and good luck!


and sorry for huge bump :x
Title: Re: SA:MP Scripting References
Post by: Matz on August 17, 2011, 05:06:57 PM
And there are Map Editing stuffs available.

SA-MP Map Editor (http://forum.sa-mp.com/showthread.php?t=139409)
MTA-SA Client (http://mtasa.com/) (recommended)
Title: Re: SA:MP Scripting References
Post by: Me[T]aL_ on August 19, 2011, 01:22:47 AM
One question with the mta:editor if you make a map what do you do to convert it to samp and how do you put it in your gamemode?
Title: Re: SA:MP Scripting References
Post by: Slide on August 19, 2011, 01:31:55 AM
One question with the mta:editor if you make a map what do you do to convert it to samp and how do you put it in your gamemode?

use www.convertffs.com for converting.

and then open .pwn file (whatever your script iz called, exmp: Virus.pwn) and then add Objects under  OnGameModeInit()
Title: Re: SA:MP Scripting References
Post by: PawnFox on August 19, 2011, 04:58:13 AM
One question with the mta:editor if you make a map what do you do to convert it to samp and how do you put it in your gamemode?

use www.convertffs.com for converting.

and then open .pwn file (whatever your script iz called, exmp: Virus.pwn) and then add Objects under  OnGameModeInit()

Yes , but if you use 0.3c Objects , convertffs doesnt work fine , will convert another objects.

I use an application >> http://solidfiles.com/d/301d9/

(https://littlewhiteys.com/proxy.php?request=http%3A%2F%2Fi.solidfiles.net%2F85ba6.jpg&hash=ca5880dc5dad27ca48e0a65012ba530036045802)


Title: Re: SA:MP Scripting References
Post by: Matz on August 19, 2011, 11:17:16 AM
Tiny info: There's a question from FAQs. "When I put biggest maps in my gamemode, some objects disappears?". Because SA-MP has a limit of object (I guess 400 Objects). When you are exceed the limit, some objects gonna be disappeared. So can use Streamers for fix these.

An example: http://forum.sa-mp.com/showthread.php?t=102865 (http://forum.sa-mp.com/showthread.php?t=102865)
Title: Re: SA:MP Scripting References
Post by: Me[T]aL_ on August 19, 2011, 03:50:52 PM
Thanks both of you but were can i find the file that i need to convert in the mta program files shiz
Edit:The solidfiles download doesnt work with my pc :(
Title: Re: SA:MP Scripting References
Post by: PawnFox on August 19, 2011, 06:17:59 PM
Thanks both of you but were can i find the file that i need to convert in the mta program files shiz
Edit:The solidfiles download doesnt work with my pc :(

i'll try to upload  on another website

.map file can be founded in
Code: [Select]
C:\Program Files\MTA San Andreas\server\mods\deathmatch\resources
Title: Re: SA:MP Scripting References
Post by: Me[T]aL_ on August 19, 2011, 07:27:10 PM
thanks :D
the download works i think its cuz its 64bit :x
Title: Re: SA:MP Scripting References
Post by: [RMS]Yakuza on March 26, 2013, 07:41:02 PM
Good Work =D
Title: Re: SA:MP Scripting References
Post by: Slide on March 26, 2013, 07:48:15 PM
Good Work =D

Nice bump  :P