Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stock get_user_protocol(id)
- {
- // Get the pointer to our cvar
- new pCvarProtocol = get_cvar_pointer("dp_r_protocol")
- // Let Reunion set players right protocol
- server_cmd("dp_clientinfo %d", id)
- server_exec()
- // Get the protocol
- new iProtocol = get_pcvar_num(pCvarProtocol)
- // Return it
- return iProtocol;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement