NodZen Posted June 7, 2012 Posted June 7, 2012 Hola amigo , miren necesito saber como puedo hacer una ventana de Spawn , asi como tiene el gamemode "Stealh"... Me puede decir que funciones necesito o porfavor pasenme un ejemplo ,asi yo lo edito a mi necesidad.... Gracias ------------------------------------------------------------------------------------------ My scripts http://community.multitheftauto.com/index.php?p=resources&s=details&id=6977 http://community.multitheftauto.com/index.php?p=resources&s=details&id=7740
Alexs Posted June 7, 2012 Posted June 7, 2012 triggerServerEvent --Para trigger el spawn spawnPlayer --el Spawn OnClientGUIClick --El evento del boton https://wiki.multitheftauto.com/wiki/Client_Scripting_Functions#GUI_functions Developer @ MYVAL
NodZen Posted June 7, 2012 Author Posted June 7, 2012 triggerServerEvent --Para trigger el spawn spawnPlayer --el Spawn OnClientGUIClick --El evento del boton https://wiki.multitheftauto.com/wiki/Client_Scripting_Functions#GUI_functions No tendrias un ejemplo? ------------------------------------------------------------------------------------------ My scripts http://community.multitheftauto.com/index.php?p=resources&s=details&id=6977 http://community.multitheftauto.com/index.php?p=resources&s=details&id=7740
Alexs Posted June 7, 2012 Posted June 7, 2012 uff.. a ver: Server Side: function spawn ( ) spawnPlayer ( thePlayer, 0.0, 0.0, 0.0) end addEvent( "alspawn", true ) addEventHandler( "alspawn", getLocalPlayer(), spawn ) Client Side: function spawnc ( ) if source == Botonspawn then triggerServerEvent ( "alspawn", getLocalPlayer() ) end end addEventHandler ( "onClientGUIClick", Botonspawn, spawnc) Quiza me equivoco, no se mucho del uso de Trigger Developer @ MYVAL
iFoReX Posted June 7, 2012 Posted June 7, 2012 alexs para que especificar el boton 2 veces ? elMota/elFoReX De Vuelta En MTA *---------* Cuenta De Youtube En La Que Subo Tutoriales Acerca De MTA :3 https://www.youtube.com/user/KillersGPs
Recommended Posts