Author Topic: SA:MP Scripting References  (Read 11732 times)

0 Members and 1 Guest are viewing this topic.

Offline Simon

  • SA-MP Retirees
  • *
  • *
  • *
  • Posts: 1236
  • Retired
    • Awards
  • SA-MP: [CP]Simon
SA:MP Scripting References
« on: November 06, 2010, 05:02:25 AM »

You can feel free to post any references below.
« Last Edit: November 06, 2010, 05:16:19 AM by Hazard »

Offline Slice

  • SA-MP Retirees
  • *
  • *
  • Posts: 811
    • Awards
Re: SA:MP Scripting References
« Reply #1 on: November 06, 2010, 03:10:48 PM »
Understanding the SA-MP sync.
A tutorial on basic SA-MP client-server communication. Also available in spanish.

Offline Faraday

  • The Scranton Strangler
  • SA-MP Retirees
  • *
  • *
  • *
  • Posts: 2599
  • Super[M]unkey
    • Awards
Re: SA:MP Scripting References
« Reply #2 on: November 06, 2010, 03:58:32 PM »
MySQL Tutorial for beginners.

Very basic mysql tutorial which teaches you how to connect to, send and receive information from a mysql database.

Offline Slide

Re: SA:MP Scripting References
« Reply #3 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

This should get you starting.

Have fun and good luck!


and sorry for huge bump :x
« Last Edit: August 16, 2011, 10:43:05 PM by Slide »

Offline Matz

  • Big Fish
  • ****
  • Posts: 302
    • Awards
Re: SA:MP Scripting References
« Reply #4 on: August 17, 2011, 05:06:57 PM »
And there are Map Editing stuffs available.

SA-MP Map Editor
MTA-SA Client (recommended)

Offline Me[T]aL_

  • Fisher
  • ******
  • Posts: 1927
  • Que Pasa Am Mexican
    • Awards
Re: SA:MP Scripting References
« Reply #5 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?

Offline Slide

Re: SA:MP Scripting References
« Reply #6 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()

Offline PawnFox

  • SA-MP
  • SA-MP Retirees
  • *
  • Posts: 1997
  • 187 Co.
    • Awards
Re: SA:MP Scripting References
« Reply #7 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/





Offline Matz

  • Big Fish
  • ****
  • Posts: 302
    • Awards
Re: SA:MP Scripting References
« Reply #8 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

Offline Me[T]aL_

  • Fisher
  • ******
  • Posts: 1927
  • Que Pasa Am Mexican
    • Awards
Re: SA:MP Scripting References
« Reply #9 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 :(

Offline PawnFox

  • SA-MP
  • SA-MP Retirees
  • *
  • Posts: 1997
  • 187 Co.
    • Awards
Re: SA:MP Scripting References
« Reply #10 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

Offline Me[T]aL_

  • Fisher
  • ******
  • Posts: 1927
  • Que Pasa Am Mexican
    • Awards
Re: SA:MP Scripting References
« Reply #11 on: August 19, 2011, 07:27:10 PM »
thanks :D
the download works i think its cuz its 64bit :x

Offline [RMS]Yakuza

  • Tiny Fish
  • *
  • Posts: 1
  • Pawno Scripting
    • SoG
    • Awards
Re: SA:MP Scripting References
« Reply #12 on: March 26, 2013, 07:41:02 PM »
Good Work =D

Offline Slide

Re: SA:MP Scripting References
« Reply #13 on: March 26, 2013, 07:48:15 PM »