Question: PSendSysMessage and SendSysMessage

Hey,

i have a little question about two functions. What is the difference between

handler->PSendSysMessage()
and

handler->SendSysMessage()
?

Both function send a message to my character so i dont see a difference. Can someone explain me the difference?

Usually the ones with P accept additional arguments. (The string is format and arguments are inserted to it)

PQuery, PExecute, PSendSysMessage… and so forth.

See printf documentation.

Example:
[COLOR=rgb(102,102,0)]ChatHandler(player->GetSession()).[COLOR=rgb(102,0,102)]PSendSysMessage[COLOR=rgb(102,102,0)](“Hello %s”, player->GetName().c_str());

Thanks.