SA-MP Forums Archive
Pequeсa duda algo simple - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Español/Spanish (https://sampforum.blast.hk/forumdisplay.php?fid=29)
+---- Thread: Pequeсa duda algo simple (/showthread.php?tid=565701)



Pequeсa duda algo simple - Jeree10 - 28.02.2015

Hola mi problema es que no recuerdo como era para poner el selector de skins antes de spawn.


Respuesta: Pequeсa duda algo simple - OTACON - 28.02.2015

https://sampwiki.blast.hk/wiki/OnPlayerRequestClass
https://sampwiki.blast.hk/wiki/AddPlayerClass

edit: antes de spawn:

https://sampwiki.blast.hk/wiki/OnPlayerConnect
https://sampwiki.blast.hk/wiki/SetPlayerSkin

con algun menu ,dialog, textdraw, etc, o con lo que quieras.


Re: Pequeсa duda algo simple - Jeree10 - 01.03.2015

Bien pero me referнa a como poder seleccionar los skins antes del spawn, por ejemplo poner el skin 4,7 y 10.


Respuesta: Re: Pequeсa duda algo simple - MrNatrio - 01.03.2015

Quote:
Originally Posted by Jeree10
Посмотреть сообщение
Bien pero me referнa a como poder seleccionar los skins antes del spawn, por ejemplo poner el skin 4,7 y 10.
En onplayerconnect, puedes crear un dialog-list y pones los 3 skins, luego cuando selecionas un skin, pones un botуn que tenga la funciуn de SetPlayerSkin (para ponerle em skin elegido) y SpawnPlayer (para spawnearlo)->

https://sampwiki.blast.hk/wiki/ShowPlayerDialog
https://sampwiki.blast.hk/wiki/OnDialogResponse
https://sampwiki.blast.hk/wiki/SpawnPlayer

Tambiйn puedes crear el selector con un TextDraw o un Menъ como te dijo el de arriba.