OnFilterScriptInit ES
From SA-MP Wiki
(Difference between revisions)
Revision as of 22:27, 27 July 2013 The Chaoz (Talk | contribs) (OnFilterScriptInit Es moved to OnFilterScriptInit ES) ← Previous diff |
Current revision TopFuel (Talk | contribs) (lang link) |
||
Line 24: | Line 24: | ||
[[Category:Scripting Callbacks ES]] | [[Category:Scripting Callbacks ES]] | ||
+ | |||
+ | [[en:OnFilterScriptInit]] | ||
+ | [[de:OnFilterScriptInit]] | ||
+ | [[fr:OnFilterScriptInit]] | ||
+ | [[lt:OnFilterScriptInit]] | ||
+ | [[pt:OnFilterScriptInit]] |
Current revision
Description:
Este callback es llamado cuando un filterscript es cargado, solo se llama dentro del script que fue cargado.
Este callback no tiene parametros
Este callback no maneja returns
Ejemplo:
public OnFilterScriptInit() { print("|================================|"); print("|Nombre v1.0 cargado exitosamente|"); print("|================================|"); return 1; }
Callbacks relacionadas
Las siguientes callbacks pueden ser útiles, ya que éstas están relacionadas con esta función de alguna u otra manera.
- OnFilterScriptExit Llamado cuando un filterscript es descargado.
- OnGameModeInit Llamado cuando un gamemode es cargado.
- OnGameModeExit Llamado cuando un gamemode es descargado.