diff --git a/pawno/include/irresistible/helpers.inc b/pawno/include/irresistible/helpers.inc index e3f3917..eb788c5 100644 --- a/pawno/include/irresistible/helpers.inc +++ b/pawno/include/irresistible/helpers.inc @@ -234,8 +234,8 @@ stock Player_GetUnusedAttachIndex( playerid ) return cellmin; } -// purpose: convert integer into dollar string -stock number_format( { _, Float, Text3D, Menu, Text, DB, DBResult, bool, File }: variable, prefix = '$', decimals = -1, thousand_seperator = ',', decimal_point = '.', tag = tagof( variable ) ) // by Slice +// purpose: convert integer into dollar string (large credit to Slice - i just added a prefix parameter) +stock number_format( { _, Float, Text3D, Menu, Text, DB, DBResult, bool, File }: variable, prefix = '$', decimals = -1, thousand_seperator = ',', decimal_point = '.', tag = tagof( variable ) ) { static s_szReturn[ 32 ], diff --git a/pawno/include/irresistible/security.inc b/pawno/include/irresistible/security.inc index 981466f..a971391 100644 --- a/pawno/include/irresistible/security.inc +++ b/pawno/include/irresistible/security.inc @@ -134,7 +134,7 @@ hook OnPlayerDisconnect( playerid, reason ) #endif /* ** Hooked Functions ** */ -Security_SetPlayerName( playerid, const name[ ] ) +stock Security_SetPlayerName( playerid, const name[ ] ) { if ( 0 <= playerid < MAX_PLAYERS ) { format ( p_PlayerName[ playerid ], sizeof ( p_PlayerName[ ] ), "%s", name );