User:Erorr404/My Resources/Pager Documentation

From Multi Theft Auto: Wiki
Jump to navigation Jump to search

Shows pager messages to players. textUpdateTime indicates the scroll interval (the amount of milliseconds it takes for the message to shift by one letter).

Server-side functions:

nil displayPagerMessageForPlayer ( player thePlayer, string messageText, int textUpdateTimeInMilliSeconds )
nil endPagerMessageFirPlayer ( player thePlayer )
nil displayPagerMessageForAllPlayers ( string messageText, int textUpdateTimeInMilliSeconds )
nil endPagerMEssageForAllPlayers ()

Client-side functions:

bool displayPagerMessage ( string messageText, int textUpdateTimeInMilliSeconds )
bool endPagerMessage ()