Code:
if(equal(name[0], "") || equal(name[1], ""))
What is the purpose of using 2nd equal?
Also if you are trying to check if string is empty you do not need to use special function like equal, strlen, etc.
Code:
//
new playa = cmd_target(id,name,4) // Don't block access...
//new playa = find_player("bhl",name)
if(playa > 0)
printUserInfo(id, playa)
else
client_print(id,print_chat,"[PInfo] - There is no player with that name.")
Let me guess that you are not realize that cmd_target(id,name,4) would return 0 in case player isn't alive.