SA-MP Forums Archive
їComo pongo mascara de gas? - 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: їComo pongo mascara de gas? (/showthread.php?tid=608877)



їComo pongo mascara de gas? - yesid001 - 06.06.2016

Como le pongo la mascara de gas a los users cuando spawneen?


Re: їComo pongo mascara de gas? - neropic - 06.06.2016

Y debes buscar el public
Quote:

OnPlayerSpawn

.
Luego colocas:

Quote:

SetPlayerAttachedObject

https://sampwiki.blast.hk/wiki/SetPlayerAttachedObject

Por ejemplo:

PHP код:
SetPlayerAttachedObject(playerid11947220.0110000.1440000.02499963.899967, -101.69991312.1000001.0000001.0000001.000000);