It is a big script,we can give you only advices
Start with this:
Create a profile data like :
PlayerInfo[playerid][pTested] = 0;
It is 0 till he do his RP Test.
Now start creating
pawn Код:
public OnPlayerConnect(...) { if(PlayerInfo[playerid][pTested]==0) { . . .}
ill help you later but now i have to go to school xD