ResendPlayerModInfo: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ {{Server function}} {{New feature|3.0120|1.2| '''Available only in MTA SA 1.2 and onwards''' }} This function will force the specified player to resend their mod info...")
 
No edit summary
Line 2: Line 2:
{{Server function}}
{{Server function}}
{{New feature|3.0120|1.2|
{{New feature|3.0120|1.2|
'''Available only in MTA SA 1.2 and onwards'''
'''Available only in MTA SA 1.1.1-9.03451 and onwards'''
}}
}}


Line 17: Line 17:
===Returns===
===Returns===
Returns ''true'' if the mod info will be resent, ''false'' otherwise.
Returns ''true'' if the mod info will be resent, ''false'' otherwise.
==Requirements==
{{Requirements|1.1.1-9.03451|n/a|}}


==See Also==
==See Also==
{{Player functions}}
{{Player functions}}

Revision as of 11:23, 20 November 2011

Available only in MTA SA 1.1.1-9.03451 and onwards

This function will force the specified player to resend their mod info, triggering the onPlayerModInfo event again.

Syntax

bool resendPlayerModInfo ( player thePlayer )

Required Arguments

  • thePlayer: A player object referencing the specified player

Returns

Returns true if the mod info will be resent, false otherwise.

Requirements

Minimum server version 1.1.1-9.03451
Minimum client version n/a

Note: Using this feature requires the resource to have the above minimum version declared in the meta.xml <min_mta_version> section. e.g. <min_mta_version server="1.1.1-9.03451" />

See Also

Shared