SA-MP Forums Archive
їExiste esta funciуn? - 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: їExiste esta funciуn? (/showthread.php?tid=416890)



їExiste esta funciуn? - jwalker - 18.02.2013

Buenas, quiero saber si existe la funciуn que detecta el momento en el que el jugador presiona T y comienza a escribir un mensaje en el text box, no digo cuando ya se mandу, si no que cuando lo estб escribiendo. їExiste?


Re: їExiste esta funciуn? - [DOG]irinel1996 - 18.02.2013

No existe, a no ser que se use algъn plugin.


Respuesta: їExiste esta funciуn? - jwalker - 18.02.2013

Carajo, entonces una vez yo leн que Grove4L puso un antiafk donde escribio: "Si el jugador estб escribiendo un mensaje, no lo kickeara por AFK" Creo que ahн usa una funciуn para detectar que el jugador estб escribiendo.


Respuesta: їExiste esta funciуn? - adri1 - 18.02.2013

Quote:
Originally Posted by jwalker
Посмотреть сообщение
Carajo, entonces una vez yo leн que Grove4L puso un antiafk donde escribio: "Si el jugador estб escribiendo un mensaje, no lo kickeara por AFK" Creo que ahн usa una funciуn para detectar que el jugador estб escribiendo.
No se puede detectar cuando el jugador presiona 'T' pero si cuando envia el mensaje..

'OnPlayerText' quiere decir, cuando el jugador escribe.
Lee mбs acerca de esta funciуn aquн (https://sampwiki.blast.hk/wiki/OnPlayerText_Es)


Respuesta: їExiste esta funciуn? - jwalker - 18.02.2013

Quote:
Originally Posted by adri1
Посмотреть сообщение
No se puede detectar cuando el jugador presiona 'T' pero si cuando envia el mensaje..

'OnPlayerText' quiere decir, cuando el jugador escribe.
Lee mбs acerca de esta funciуn aquн (https://sampwiki.blast.hk/wiki/OnPlayerText_Es)
Eso ya lo sй.. pero querнa saber si se puede detectar cuando un jugador estб escribiendo.


Respuesta: їExiste esta funciуn? - DesingMyCry - 18.02.2013

Quote:
Originally Posted by jwalker
Посмотреть сообщение
Eso ya lo sй.. pero querнa saber si se puede detectar cuando un jugador estб escribiendo.
Eso actualmente no se puede hacer con PAWN. Lo que quiso decir GROVE4L era que si envia un mensaje al chat no lo kickearб porque obviamente esta en el PC.


Respuesta: їExiste esta funciуn? - oOFotherOo - 18.02.2013

No existe dicha funciуn, talvйz Kalcor no ha pensado en habilitar algъn callback que al presionar la tecla T o F6 llame un determinado callback.

Quote:
Originally Posted by DesingMyCry
Посмотреть сообщение
Eso actualmente no se puede hacer con PAWN. Lo que quiso decir GROVE4L era que si envia un mensaje al chat no lo kickearб porque obviamente esta en el PC.
Serб que no existe dicha funciуn en SA-MP porque si existiera si se podria hacer en PAWN, PAWN es el lenguaje de scripting que utiliza SA-MP por lo tanto las funciones como SetPlayerAmmo no son nativas de PAWN si no de SA-MP para ser utilizadas en PAWN.

Un saludo.


Respuesta: їExiste esta funciуn? - jwalker - 18.02.2013

Ah ok, porque mi idea era hacer un label flotando en la cabeza que diga: Estб escribiendo un mensaje.


Respuesta: їExiste esta funciуn? - DesingMyCry - 19.02.2013

Quote:
Originally Posted by oOFotherOo
Посмотреть сообщение
No existe dicha funciуn, talvйz Kalcor no ha pensado en habilitar algъn callback que al presionar la tecla T o F6 llame un determinado callback.



Serб que no existe dicha funciуn en SA-MP porque si existiera si se podria hacer en PAWN, PAWN es el lenguaje de scripting que utiliza SA-MP por lo tanto las funciones como SetPlayerAmmo no son nativas de PAWN si no de SA-MP para ser utilizadas en PAWN.

Un saludo.
Que es lo mismo que yo dije pero con palabras mas bonitas...