The use of RPC in the ARGO-YBJ project