note Help Needed
This wiki is the result of an ongoing community effort — thank you all for helping!
If you want to provide changes to this page then please click here.
Descripción
Este callback se llama cuando un jugador es cargado (se hace visible) por el cliente de otros jugadores.
Nombre | Descripción |
---|---|
playerid | El ID del jugador que fue cargado. |
forplayerid | El ID del jugador que cargó al otro jugador. |
Devoluciones
Siempre se llama primero en filterscripts.
Ejemplos
public OnPlayerStreamIn(playerid, forplayerid)
{
new string[40];
format(string, sizeof(string), "El jugador %d se cargó en tu cliente.", playerid);
SendClientMessage(forplayerid, 0xFFFFFFFF, string);
return 1;
}
Notas
tip
Este callback también puede ser llamado por un NPC.