SA-MP Forums Archive
[FilterScript] Buy Menu Transformers(autobots & decepticons) by dialog + alternative commands - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Buy Menu Transformers(autobots & decepticons) by dialog + alternative commands (/showthread.php?tid=596970)



Buy Menu Transformers by dialog + commands to buy - Jorge98 - 25.12.2015

English:

Description of Fs:

Hello, I finally finished this filterscript for you, this it comes to buying convertible vehicles, type "Autobots" or "Decepticons" from the movie "Transformers"... which can be purchased by typing: " /Transformers " in a dialogue that will select the type of transformer to buy and the price of each, which you can change to your liking appear.

Also noteworthy is that it has created a destroyer transformers having created more than 1, to avoid the flood of transformers, which means that there is less need to adapt the id of the transformers with the id of the other vehicles in its gamemode or management system

Besides buying power transformers through dialogue, you can buy them directly using the commands: /optimusprime, /bumblebee, /jazz, /ratchet, /ironhide, /megatron, /starscream, /shockwave, /ss, /skyhammer.

Usage mode: After buying a transformer, to transform, you must use the 2,4,6,8 numpad keys.



Transformations: These 4 keys to transform your car, either in an airplane, a boat, a motorcycle or vehicle mode again.

They can also add more transformers for more keys, which can take from here: https://sampwiki.blast.hk/wiki/Keys since the function "public OnPlayerKeyStateChange (playerid, newkeys, oldkeys)"

Suggestion: They can put on your server, to buy them. instead of money, by score, level, etc.

Video Demonstration: https://www.youtube.com/watch?v=kCXaon0uSw4

upgraded code!!!
bug fixes.


Espaсol:

Descripciуn del Fs:

Hola, por fin he terminado este filterscript para ustedes, йste se trata de comprar vehнculos transformables, sean del tipo "Autobots" у "Decepticуns" provenientes de la pelнcula 'Transformers'... los cuales se pueden comprar mediante el comando: " /transformers " en el que aparecerб un diбlogo en el que seleccionarб el tipo de transformer a comprar y el precio de cada uno, el cuбl usted puede cambiar a su gusto.

Tambiйn cabe destacar que se ha creado un destructor de transformers al haber creado mбs de 1, para asн evitar el flood de transformers, lo cuбl hace que no haya tanta necesidad de adaptar el id de los transformers con los id de los otros vehнculos en su gamemode o sistema de administraciуn.

Aparte de poder comprar los transformers mediante dialogo, puedes comprarlos directamente usando los comandos: /optimusprime, /bumblebee, /jazz, /ratchet, /ironhide, /megatron, /starscream, /shockwave, /ss, /skyhammer.

Modo de uso: Despuйs de comprar un transformer, para transformarlo, debes usar las teclas 2,4,6,8 del numpad.



Transformaciones: Son 4 teclas para transformar tu auto, ya sea en un Aviуn, un Bote, una Moto o nuevamente a modo vehнculo.

Tambiйn pueden cambiar las transformaciones de los que yo hice y/у agregar mбs transformers para mбs teclas las cuales pueden sacar de aquн: https://sampwiki.blast.hk/wiki/Keys desde la funciуn "public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)"

Sugerencia: Pueden ponerlo en su servidor, para comprarlos. en vez de dinero. que sea por puntaje, niveles, etc.

Video Demostraciуn: https://www.youtube.com/watch?v=kCXaon0uSw4

Links:
http://pastebin.com/Bkn8VTAU
http://www.mediafire.com/download/wk...ansformers.pwn

Bugs arreglados.
Cуdigo actualizado.



Re: Buy Menu Transformers(autobots & decepticons) by dialog + alternative commands - Younes44 - 25.12.2015

Not Bad dude
+rep for you


Re: Buy Menu Transformers(autobots & decepticons) by dialog + alternative commands - Jorge98 - 25.12.2015

Hahaha, many thanks ^^


Re: Buy Menu Transformers(autobots & decepticons) by dialog + alternative commands - xXRevolverXx - 25.12.2015

Not bad keep learning.


Respuesta: Re: Buy Menu Transformers(autobots & decepticons) by dialog + alternative commands - Jorge98 - 26.12.2015

Thanks!!


Respuesta: Buy Menu Transformers(autobots & decepticons) by dialog + alternative commands - Jorge98 - 28.12.2015

I recorded a new video the system, as the former it was long...


Respuesta: Buy Menu Transformers(autobots & decepticons) by dialog + alternative commands - Jorge98 - 26.01.2016

Code updated, bugs fixed.


Re: Buy Menu Transformers(autobots & decepticons) by dialog + alternative commands - SteSte - 31.01.2016

This is good but can you plz update the script for all English version because some parts are not. Nice work though your on the right trackNice Work